FileDocCategorySizeDatePackage
MyInternalFrame.javaAPI DocExample685Tue Dec 12 18:59:18 GMT 2000None

MyInternalFrame

public class MyInternalFrame extends JInternalFrame

Fields Summary
static int
openFrameCount
static final int
xOffset
static final int
yOffset
Constructors Summary
public MyInternalFrame()


      
        super("Document #" + (++openFrameCount), 
              true, //resizable
              true, //closable
              true, //maximizable
              true);//iconifiable

        //...Create the GUI and put it in the window...

        //...Then set the window size or call pack...
        setSize(300,300);

        //Set the window's location.
        setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
    
Methods Summary