• Post Reply Bookmark Topic Watch Topic
  • New Topic

way to maintain jtabbedpane open  RSS feed

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jtabbedpane wich triggers a joptionpane with the option of yes, no and cancel. With cancel I would like to maintain the the tabbedpane open. Is there an easy way to do this like
setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
I have already added jTabbedPane1.addMouseListener(..

Thank you all
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!