• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple JFrame Quick Help

 
Ben Jass
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's say I have a JFrame with a bunch of buttons. I click a button and another JFrame pops up (giving me a bunch of setting options). Is there a way to make it so while the new JFrame is up, the original JFrame can not be clicked or edited?
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use a second JFrame but a modal JDialog.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!