aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JWindow problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JWindow problem" Watch "JWindow problem" New topic
Author

JWindow problem

Stewart Griffin
Greenhorn

Joined: Dec 02, 2002
Posts: 23
Does anyone know how to keep a JWindow on top of the screen?
If I click any part of the screen the JWindow stays on top.
But if I click on any part of the JWindow, it disappears under the main JFrame, eventhough I dont implement any of the listeners.
Here's my code

Any ideas ppl?
Stewart Griffin
Greenhorn

Joined: Dec 02, 2002
Posts: 23
Its ok,
I realised where the prob is.
I forgot to add the action listeners to the window.
I just added them in the class constructor.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JWindow problem
 
Similar Threads
Swing: Slow paint
Messagebox with Mouseevent
Bumper car errors
Java Applet code
Checkerboard w/ 64 squares