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?
posted 12 years ago
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.