Fair enough, but I personally believe a better way to help him would have been to point out why his program was wrong - or better yet, to simply ask him what happened when he ran it.
The only...
Type: Posts; User: KevinWorkman
Fair enough, but I personally believe a better way to help him would have been to point out why his program was wrong - or better yet, to simply ask him what happened when he ran it.
The only...
Hooray spoonfeeding :-/
Take a look at this tutorial to figure out how to get user input: How to Make Dialogs (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
When you have that part figured...