Results 1 to 4 of 4
Thread: jDialog box disappears
- 08-18-2011, 10:16 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 84
- Rep Power
- 0
jDialog box disappears
Hi,
I have a jDialog box which opens when I click a button.If I move away from the window and go to some other application(check email or something) and click again on my application,The dialog box doesnt appears and my application seems stuck.
Any pointers what is causing the issue.please help
Thanks
- 08-18-2011, 10:45 PM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,158
- Rep Power
- 5
Make sure you specify the parent frame when you create the dialog. Otherwise the dialog may hide below other windows and it will not be brought into focus when you click on the application.
- 08-19-2011, 05:41 PM #3
Member
- Join Date
- Feb 2011
- Posts
- 84
- Rep Power
- 0
Thanks for the reply.I am pretty new to Swing,Can you help me how to set or specify the parent for the dialog box?
Thanks,
- 08-19-2011, 06:07 PM #4
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,158
- Rep Power
- 5
Similar Threads
-
Tableviewer content disappears on scrolling
By gmm in forum SWT / JFaceReplies: 2Last Post: 06-27-2011, 01:18 PM -
moving a pic, another pic disappears
By benjamin in forum New To JavaReplies: 4Last Post: 06-16-2010, 06:18 PM -
JLabel icon disappears
By grease_monkey1986 in forum AWT / SwingReplies: 3Last Post: 05-09-2010, 12:43 PM -
Eclipse appears half a second and disappears Vista IE8
By ortollj in forum EclipseReplies: 11Last Post: 10-27-2009, 07:55 AM -
text box disappears
By okabeer in forum NetBeansReplies: 2Last Post: 07-13-2009, 06:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks