JFrame to Front
- From: "Oliver Hirschi" <ohirschi@xxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 11:33:25 +0200
Hi,
First of all sorry for my german posting before!
Here is my question in english:
By starting my application I construct a JFrame. By clicking onto a
JButton on this JFrame, it construct a NON-MODAL JDialog, which gets as
parentComponent the JFrame.
Now, if I switch between the Frame and the Dialog, they are correctly
activated, but the Frame does never come to foreground, i.e. it is ever
ovelapped by the Dialog.
I tryed with "Frame.setVisible(true)", "Frame.toFront()" and
"Frame.show()", but unfortunately, it does not work.
Is my desired behavior in this case even possible, or is there only the
way of setting the parentComponent of the Dialog to null?
Thanks!
--
Oliver Hirschi
http://www.FamilyHirschi.ch
.
- Prev by Date: Frame in den Vordergrund
- Next by Date: Re: Frame in den Vordergrund
- Previous by thread: Frame in den Vordergrund
- Next by thread: How to get a double from the quotient of two int values?
- Index(es):