aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Problem with JDialog Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with JDialog Box" Watch "Problem with JDialog Box" New topic
Author

Problem with JDialog Box

Neha D
Ranch Hand

Joined: Oct 12, 2004
Posts: 32
Hi,

I have a JDialogBox which is displayed for two different actions.
When i double click on a table cell this dialog box is diplayed & also when i right click on the tabl cell this dialog gets displayed.

When it gets displayed for a double click all the components of that dialog are to be made visible. But when it gets displayed for a right click, one of the component (a panel on that dialog) should not be displayed & the space occupied by that component should be used evenly by other components.

Can anybody plz help me out with this problem.

Help is heartedly appreciated.

Thanx.
Regards,
Neha
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
 
subject: Problem with JDialog Box