This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with JDialog Box" Watch "Problem with JDialog Box" New topic

Problem with JDialog Box

Neha D
Ranch Hand

Joined: Oct 12, 2004
Posts: 32

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.

Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Don't get me started about those stupid light bulbs.
subject: Problem with JDialog Box
Similar Threads
JInternal frame not getting updated
Regarding JTable mouse events
EMSRV not starting
Problem in JDialogBox
Netbeans Property window