Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane

 
remi vandana
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i hv invoked a JOptionPane frm a JInternalFrame.
I want tht if i clk on "Yes" optn thn it shd pop up a SavedialogBox wch is running properly.
But if i clk on "NO" optn thn i want tht JInternalFrame to get disposed and simiulatneously ths JOptionpane too.
how to do?
I hv to clk on ths "NO" opt as many times as the lenght of the documnet inside the JInternalframe to dispose it.
Same is happening whn i clk on "CLOSE".
pl. reply asap
 
Tom Diamond
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understood properly you want to close the JInternalFrame if "NO" is selected in the JOptionPane.
Try this :

Tom.
P.S. : What happened to your vowels? Your message was hardly readable...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic