setAlwaysOnTop « JFrame « Java Swing Q&A





1. With Java Desktop Application JFrame.setAlwaysOnTop() doesn't work?    forums.netbeans.org

Hello. I've made a simple swing application with the help of Java Desktop Application project. Now I need to setAlwaysOnTop(true) to my JFrame. In MyAppView constructor I do: JFrame mainFrame = MyAppApp.getApplication().getMainFrame(); mainFrame.setAlwaysOnTop(true); But when I run it my app window doesn't stay on top, as if the alwaysOnTop property is set to false. I wrote a simple test, that doesn't ...

3. JFrame declared as setAlwaysOnTop doesn't stay on top during slide show    coderanch.com

> Now, can somebody help me out please. If someone has first hand experience of your problem, they would most likely post a solution, since it is from memory. the rest of us would need to spend time writing demo code and testing to see if any theories worked. now, given your cross-posts, it's unlikely anyone would invest their time in ...

4. JFrame declared as setAlwaysOnTop doesn't stay on top during slide show    java-forums.org

Hi, We came across a very typical difference in the behavior of JFrame and JWindow. We are maintaining a desktop application developed in java swing with one of the functionality to capture the screen. The application is a JFrame with various buttons added to it. The JFrame is set as setAlwaysOnTop(true). This screen capture works fine for all cases expect when ...