Re: Help Menu - opens frame which does not go to front
- From: "Andrew Thompson" <andrewthommo@xxxxxxxxx>
- Date: 29 Aug 2006 10:29:28 -0700
Babu Kalakrishnan wrote:
johnmmcparland wrote:....
yea a modal dialog will work but it's not the right way to do it. If IUntested :
use that then the use cannot make changes to the main window (even if
it had content ;) ) but thanks anyway.
Try a non-modal (with a parent specified as your main frame), and try to
call toFront() on it.
The second example actually does that, but now that I look
at it more closely, I note that setVisible(true) is called after
the call to toFront().
The OP might try calling toFront() and requestFocus() *after*
the dialog is visible..
Andrew T.
.
- Follow-Ups:
- Re: Help Menu - opens frame which does not go to front
- From: Ian Wilson
- Re: Help Menu - opens frame which does not go to front
- References:
- Help Menu - opens frame which does not go to front
- From: johnmmcparland
- Re: Help Menu - opens frame which does not go to front
- From: johnmmcparland
- Re: Help Menu - opens frame which does not go to front
- From: Andrew Thompson
- Re: Help Menu - opens frame which does not go to front
- From: johnmmcparland
- Re: Help Menu - opens frame which does not go to front
- From: Babu Kalakrishnan
- Help Menu - opens frame which does not go to front
- Prev by Date: Re: Help Menu - opens frame which does not go to front
- Next by Date: hibernate i bytea
- Previous by thread: Re: Help Menu - opens frame which does not go to front
- Next by thread: Re: Help Menu - opens frame which does not go to front
- Index(es):