wood burning stoves
The moose likes Swing / AWT / SWT and the fly likes JFrame - Always on top? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFrame - Always on top?" Watch "JFrame - Always on top?" New topic

JFrame - Always on top?

Conrad McLaughlin

Joined: Jan 31, 2006
Posts: 27
Is there anyway I can make this JFrame always on top? I want to be on top of any other windows that appear later in the program.

Nikos Stavros
Ranch Hand

Joined: Feb 24, 2006
Posts: 243

After you create another window, call toFront() on your JFrame that you want to be at the front.

hope this helps

Jesus lives
Matti Poro
Ranch Hand

Joined: Dec 03, 2005
Posts: 41

Inherited from Window.
xuan low

Joined: Feb 20, 2009
Posts: 2
hi. even after using the alwaysontop feature on eclipse but i was still not able to get the window to always be on top of my eclipse plug-in. its a loading bar. JSuperProgressBar..

could anyone assit thanks..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: JFrame - Always on top?
It's not a secret anymore!