|
-
August 11th, 2009, 08:10 PM
#1
frame.toFront(), but not all the way?
i want primary frame A to come to focus when the user clicks on it, but i also want secondary frame B to come up just behind it.
from within frame A, I write:
public void windowGainedFocus(WindowEvent e) {
if(windowB.getState() == Frame.ICONIFIED) windowB.setState(Frame.NORMAL);
windowB.toFront();
}
but i dont want window B in focus, i just want it visible. how can i do this?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|