This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes disable previous JFrame upon new JFrame popup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "disable previous JFrame upon new JFrame popup" Watch "disable previous JFrame upon new JFrame popup" New topic
Author

disable previous JFrame upon new JFrame popup

Satish Kamarthi
Greenhorn

Joined: Nov 15, 2002
Posts: 1
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

Joined: Jul 24, 2002
Posts: 128
Try to use JDialog component with modal option - true.


SCJP 1.4 <br />SCBCD 1.3<br />SCWCD 1.4
 
Don't get me started about those stupid light bulbs.
 
subject: disable previous JFrame upon new JFrame popup