Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   Launching frame from modal dialog (http://www.velocityreviews.com/forums/t957156-launching-frame-from-modal-dialog.html)

Hawkan 01-31-2013 08:03 PM

Launching frame from modal dialog
 

I have opened up an instance of a subclass to JDialog, which was made
modal when it was displayed. Based on some interaction in this window, I
want to open another frame . But when I do that, the subframe is "dead",
i.e. doesn't react to input at all. This happens even if I first set the
modal property of the parent to false before showing the subwindow. Does
anyone know how I can get around this?




Knute Johnson 01-31-2013 09:25 PM

Re: Launching frame from modal dialog
 
On 1/31/2013 12:03 PM, Hawkan wrote:
>
> I have opened up an instance of a subclass to JDialog, which was made
> modal when it was displayed. Based on some interaction in this window, I
> want to open another frame . But when I do that, the subframe is "dead",
> i.e. doesn't react to input at all. This happens even if I first set the
> modal property of the parent to false before showing the subwindow. Does
> anyone know how I can get around this?


An example would have been really nice.

Have you tried closing the JDialog first?

--

Knute Johnson


All times are GMT. The time now is 07:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57