posted 15 years ago
Hi all,
I have a Swing application (a JFrame) which uses another JFrame to display information on a product.
I have set the property for this second JFrame to 'always on top'. It almost has the desired effect: if the main JFrame is active, the additional JFrame is visible too (as 'always on top' suggests). However, if I now open another window (like a browser window), the second frame shows on top of that too. What I am really looking for is for the 'always on top' to work within my application. I have tried to implement the windowActivated / windowActivated listeners to implement this, but that does not have the desired effect.
Is there such a thing as 'always on top within application' or has someone found a solution to handle such a situation?
Cheers,
Willem