This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with JDialog Box