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

Best approach to get pop-up windows  RSS feed

 
Jesse Miller
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for the best approach on how to create pop-up windows for different actions. I have a jTabbedPane1 that has two JPanels with multiple buttons on each. I would like to have pop-up windows show up when certain buttons are pressed on the panels in the TabbedPane. What is the best way to do this? Thanks

 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose you could use one of the variants of JOptionPane by calling one of the static methods of this class. Over-use of this can be irritating and can make a program difficult to use (in my opinion).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!