Re: How to make JWindow stay always on top?
"Grzegorz B. Prokopski" <[email protected]> Wed, 22 Jun 2005 21:58:04 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Organization | SableVM - LGPL'ed Free Java VM http://sablevm.org |
| Message-ID | <[email protected]> |
Hi Manuel, On Wed, 2005-22-06 at 15:06 -0700, Manuel Rios wrote: > I am developing a program in which i have a JWindow > that I would like to stay always on top of all other > windows. > In the sun JDK I would simly use > setAlwaysOnTop(true); > however i am using sable and when I try to complile it > tells me that such method does not exist...also I > cannot find any documentation on that method. Is there > some other way???anything at all... > Can anyone please help me out? The documentation is in the usual place http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Window.html#setAlwaysOnTop(boolean) It also says that this method has been available only since java 1.5 and so apparently is not yet implemented in gnu classpath. I believe the best you can do is to fill a wishlist bug in gnu classpath's BTS and maybe also ask on classpath's mailing list about possible replacements (altough I can't really imagine any direct replacement for that kind of functionality). I wouldn't really be surprised if it was mostly a matter of mapping this method to a GTK function that does exactly the same thing. HTH a bit, Grzegorz B. Prokopski PS: > Manuel (Snap Developer) And let me use the occasion to thank you guys for providing such a great development platform as SNAP! I can reveal that we've got quite a few new things already developed internally that are only waiting for merge into the SableVM mainline (JVMDI/JDWP support, finalization, phantom/weak/soft references, and others, not to mention pending release of SableVM SDK). I am sure you'll like them, and we'll be all eagerly waiting to see them used in next SNAP releases :) -- Grzegorz B. Prokopski <[email protected]> SableVM - Free, LGPL'ed Java VM http://sablevm.org Why SableVM ?!? http://sablevm.org/wiki/Features Debian GNU/Linux - the Free OS http://www.debian.org