• Post Reply Bookmark Topic Watch Topic
  • New Topic

suspending frame from closing

 
Tony Fabeets
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my windowClosing(event) method overrides windowClosing(event). when the user clicks "x" in the main frame (frame), i would like the frame to stay open until the user clicks "yes" or "no." as of now, the frame closes, then the "yes/no" option frame pops up.

in the else if(e.getWindow()...) i would like the frame to stay open while frameExitObj.exitPerformed() is called.
[ December 30, 2003: Message edited by: Tony Fabeets ]
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this to Swing/AWT. Let's see if it does any better there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!