Click to See Complete Forum and Search --> : Java JWindow appears 'always on top'


cs02rm0
01-15-2005, 07:41 AM
I've written a small Java program which uses a JWindow (borderless, no title bars, etc) to display an RSS feed on my desktop.

The problem is I want it to appear as on the desktop, so 'always underneath' or at least like a normal program, however it appears 'always on top' - not just of Java programs but browsers, terminals, etc.

Anyone have any idea how to adjust this behaviour? I didn't think Java was supposed to be able to make windows always on top?

Thanks

(BTW it behaves like an normal program - selectable with the mouse, otherwise the selected program will go over it - in Windows).

cs02rm0
01-16-2005, 08:46 AM
As good as solved by creating a JFrame instead and calling setUndecorated(true);

CaptainPinko
01-16-2005, 02:32 PM
aren't JWindows meant for splash screens?

Also if you are using KDE you could probably tell the window to always be on the bottom.

cs02rm0
01-16-2005, 05:39 PM
No I'm not using KDE.

JWindows can be used for splash screens, but they're just simple Windows, they're not 'meant' for anything!