Example of JInternalFrame class:
Code:
import javax.swing.JInternalFrame;
import javax.swing.JDesktopPane;
public class JInternalFrameMain {
public static void main(String[] argzv) throws Exception
{
JDesktopPane desktopQ = new JDesktopPane();
JInternalFrame[] framesZZ = desktopQ.getAllFrames();
for (int iZ = 0; iZ < framesZ.length; iZ++)
{
String titleZ = framesZZ[iZ].getTitle();
boolean isVisible = framesZZ[iZ].isVisible();
boolean isCloseable = framesZ[iZ].isClosable();
boolean isResizeable = framesZ[iZ].isResizable();
boolean isIconifiable = framesZ[iZ].isIconifiable();
boolean isIcon = framesZ[i].isIcon();
boolean isMaximizable = framesZ[iZ].isMaximizable();
boolean isSelected = framesZ[iZ].isSelected();
}
}
}
Bookmarks