There is an application, which acts as a GUI-server.
A client can connect to this server and ask
the server to produce and show a JFrame with
its content. But the problem is that the JFrame does not
always show in front of the other windows.
The client can be written in any programming language
and access the server. The window
appears randomly once in front of all windows and
once not in front. I've tried out all different
sorts of combinations of the methods setVisible,
show and toFront. It didn't help at all.
The operating system used is mostly Windows.
The other window can be a DOS-Commandline window
or the explorer or something else and the GUI-server
displays the JFrame as he likes wether on top or not.
Please help and tell me how I can make the JFrame
show always on top of all other windows.