haha. yeah, i was talking to my professor yesterday, and since my current revision has an "if the user hits cancel, dispose of the window", line, he said i could just wrap everything else in an else...
Type: Posts; User: musasabi
haha. yeah, i was talking to my professor yesterday, and since my current revision has an "if the user hits cancel, dispose of the window", line, he said i could just wrap everything else in an else...
thanks for the reply.
as it stands, ive revised it a little, and heres the code ive got:
http://musasabi.h4xful.net/misc/homework/hangmanproject.zip
so, im trying to catch a cancel button click from a JOptionPane, then send the exception up to the window controller, have it destroy the JFrame the exception came from, then start over with the main...
as i stated in a thread i posted a few hours ago, im programming a hangman project for the final in this introductory java class im taking. i have a background in C/C++, but java is new to me.
...
thanks very much. =) the one liner worked perfectly. =)
hi all. first post and all that.
ive done on-and-off amateur programming for a good number of years now, starting with C/C++ and just now moving onto java. that being said, im not awfully skilled...