Sorry, I was wrong about the ActionListeners on the text field.
You probably don't need them.
All you'd actually need is a
int value = Integer.parseInt(BuckT.getText());
int value2 =...
Type: Posts; User: javapenguin
Sorry, I was wrong about the ActionListeners on the text field.
You probably don't need them.
All you'd actually need is a
int value = Integer.parseInt(BuckT.getText());
int value2 =...
You may want to set the JFrame itself to visible first so it can actually show up.
Also, you should tell it to set the default close operation to EXIT_ON_CLOSE or something. Otherwise it will...