| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Component | |
| public Container | |
| public void | |
| public void | setActivatedActionListener(ActionListener l)
Set an ActionListener to be invoked when the underlying window is activated ("windowActivated" event of a WindowListener). |
| public void | |
| public void | setClosable(boolean closable)
Largely for use with JInternalFrames but also affects, for example, the default close operation for JFrames |
| public void | setClosingActionListener(ActionListener l)
Set an ActionListener to be invoked when the underlying window is closing ("windowClosing" event of a WindowListener). |
| public void | |
| public void | |
| public void | |
| public void |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| getComponent | back to summary |
|---|---|
| public Component getComponent() The JInternalFrame or JFrame this wraps | |
| getContentPane | back to summary |
|---|---|
| public Container getContentPane() | |
| pack | back to summary |
|---|---|
| public void pack() | |
| setActivatedActionListener | back to summary |
|---|---|
| public void setActivatedActionListener(ActionListener l) Set an ActionListener to be invoked when the underlying window is activated ("windowActivated" event of a WindowListener). Note the ActionEvent passed to this listener may be null. | |
| setBackground | back to summary |
|---|---|
| public void setBackground(Color color) | |
| setClosable | back to summary |
|---|---|
| public void setClosable(boolean closable) Largely for use with JInternalFrames but also affects, for example, the default close operation for JFrames | |
| setClosingActionListener | back to summary |
|---|---|
| public void setClosingActionListener(ActionListener l) Set an ActionListener to be invoked when the underlying window is closing ("windowClosing" event of a WindowListener). Note the ActionEvent passed to this listener may be null. | |
| setResizable | back to summary |
|---|---|
| public void setResizable(boolean resizable) | |
| setSize | back to summary |
|---|---|
| public void setSize(int x, int y) | |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) | |
| toFront | back to summary |
|---|---|
| public void toFront() Move this frame to the front. Should change focus to the frame if possible. | |