java.awt.Window#toFront
6162636465666768697071
int nbMainFrames = mainFrames.size(); MainFrame mainFrame; for(int i=nbMainFrames-1; i>=0; i--) { mainFrame = mainFrames.get(i); if(mainFrame!=currentMainFrame) { mainFrame.toFront(); } } currentMainFrame.toFront(); }