JInternalFrame to front and focussed

davidahines picture davidahines · Dec 2, 2010 · Viewed 7.5k times · Source

How does one push a JInternalFrame to the top of all the frames in a JDesktopPane?

Answer

AlexR picture AlexR · Dec 2, 2010

try grabFocus() and requestFocus(). One of the should work. I personally used only requestFocus().