Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

disable previous JFrame upon new JFrame popup

 
Satish Kamarthi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, i have a situation , when I double click the row in JTable, i am getting the data in that particular row and pop up an new frame with the new JTable from a different table from database. How do I disable the previous frame until the popup frame is closed.
Any help is greatly appreciated, Thanks for any help in advance ?
 
Serghei Jelauc
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to use JDialog component with modal option - true.
 
I was born with webbed fish toes. This tiny ad is my only friend:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!