If anyone knows java, I need to create a GUI interface ATM with a jtextfield for account etcetera with withdraw and deposit buttons.

It should use an array of accounts (which are in a separate class which has ints for balance, etc).

If anyone has skype and thinks he/she can help I would be glad to reimburse you for your time and expertise.

I already built the account class to specification, I already have a GUI interface which kind of interacts with a static account but I can't figure out how to get the value inside of a jtextfield and use it as a "current account being used" variable...

Hello. Is this homework assignment? If so I have been there, but it was many years ago prior to Java. Do not give up. The first few months of programming in college can feel rather hopeless, but it gets easier.

A few of things
1. Using int for the balance is great. In the financial business, you do not want to use float because of the precision (accuracy) of IEEE 754. Use int or long and do your math in pennies or use Java's java.math.BigDecimal.

2. You can get the value of the text in a JTextField with the getText() method. It returns a String.

For example to set the text of a JTextField called textFieldBalance with the current balance - the text in the JTextFieldAmount

The ATM is supposed to work with an array of accounts (10 in size) so i modified your code
to work to the assignment's specifications. I added the exception things and stuff.

Quote:

Create a GUI version of your ATM program. The GUI should have a label & textfield for the account id, and buttons for Balance, Withdraw, Deposit. All messages to the user should be in pop-up dialog boxes (System.out.println should not be used anywhere in the program). If the user selects Deposit or Withdraw, you should obtain the amount either from a pop-up dialog (use JOptionPane.showInputDialog). The GUI should display appropriate messages when the Account class throws an Exception. Extra Credit: Have the GUI display a “bank logo”. Any other enhancements you would like to do will also count for extra credit.