MidnightJava
Registered
I have a java SWING GUI in which I'd like a JFrame object to be always on top of other windows. There is a method setAlwaysOnTop(), but unfortunately it exists only since JRE 1.5, and I don't yet have Tiger, and therefore can't go above JRE 1.4.
I tried the method toFront(), but it didn't help. The API says that this method is only guaranteed to set the Window object in front of all other windows in the VM. I need the JFrame to be on top of native windows as well. I also tried requestFocus(), but it also failed to help.
Does anyone know of any other way to do this with JRE 1.4 on the Mac? Or do I just have to wait until I can get Tiger? For that matter, has anyone tried setAlwaysOnTop() on Tiger? The API says it may not work on all platforms.
I tried the method toFront(), but it didn't help. The API says that this method is only guaranteed to set the Window object in front of all other windows in the VM. I need the JFrame to be on top of native windows as well. I also tried requestFocus(), but it also failed to help.
Does anyone know of any other way to do this with JRE 1.4 on the Mac? Or do I just have to wait until I can get Tiger? For that matter, has anyone tried setAlwaysOnTop() on Tiger? The API says it may not work on all platforms.