Does anyone know of a way to make a Modal JDialog appear on top of Notes?
I have attempted the following, none of which actually brought the dialog to the front.
requestFocus();
requestFocus(true);
toFront();
requestFocusInWindow();
requestFocusInWindow(true);
setAlwaysOnTop();
setModal(true);
None of them seem to bring it to the front. Is there some sort of combination of methods I need to use?
Has anyone accomplished this?
edit This always happens, I figure it out after I post…Simple solution:
requestFocus();
toFront();