Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Modal JDialog  RSS feed

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. I have a JFrame I created that has a table in it. A user can click on a row in that table and it brings up a JDialog so they can change the contents of the row. At the same time, the user had previously opened a different JFrame that serves as an inquiry for them.
The problem they are running into, is when the JDialog is up, they want to be able to switch over to the inquiry to look something up , then go back to the frame with the JDialog to enter information. However since the dialog is modal, it won't let them bring up the inquiry frame until they close the dialog. How can I keep the dialog in focus on the JFrame it is in, but allow the users to view other frames?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!