Keeping a java window (JDialog) 'always on top'
Posted on 1998-11-06
Is it possible for a java window to be forced to remain the topmost window?
For my purposes this app will always only run under Win95/98/NT so a native method approach is acceptable, and will work. However, to do it that way I need a guaranteed way of getting the HWND for the window which I have not yet found. Calling GetForegroundWindow won't do since there is no way to guarantee that the window is the foreground window when the call is made.