[HOW TO] Make a non-modal DialogWrapper to stay on top?
How can i make a DialogWrapper to stay on top but still be non modal? I see this is possible by looking at the "Find / Replace in Path" dialogs. You can click away from the dialog in the main window for copying stuff for example, but the dialog always stays on top.
请先登录再写评论。
Hello Dan,
Have you tried DialogWrapper.setModal(false)?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Indeed, it is as simple as that. Was expecting a non modal dialog to float somewhere behind the main window. Guess my awt/swing skills are not the strongest...