Randy Anarcane

Greenhorn
+ Follow
since Apr 26, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Randy Anarcane

It is supposedly possible to cancel the closing of a window within the windowClosing() method. This is supposedly done by simply not closing it within the method, or that's what I'm understanding from the Java documentation. However, I have not found this to be the case at all.

The JOptionPane pops up just fine after I click the X, but the window closes regardless of whether I choose yes or no afterward. How do I properly go about preventing the window from closing?
[ April 26, 2004: Message edited by: Randy Anarcane ]
16 years ago