I am trying to make a window in a Java application (a JFrame) follow the user between all Spaces in Mac OS X 10.5 and above, and I cannot seem to find how to do it. I found how to do it Objective-C, but there has to be some way to do this in Java!
How to do it in Objective-C:
http://www.cocoabuilder.com/archive/cocoa/192813-floating-window-across-all-spaces.html
Since it’s very platform specific, it sounds like you’ll have to write some kind of JNI/JNA to do it. Fortunately, someone might have already done this for you – check out http://code.google.com/p/rococoa/
This thread has a little bit of info on the API to get the NSWindow.