Java JFrame restoreFrame(JFrame frame)

Here you can find the source of restoreFrame(JFrame frame)

Description

restore Frame

License

Open Source License

Declaration

public static void restoreFrame(JFrame frame) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.awt.IllegalComponentStateException;

import javax.swing.JFrame;

public class Main {
    public static void restoreFrame(JFrame frame) {
        try {//from   w ww .  ja  va 2s .  com
            frame.setExtendedState(JFrame.NORMAL);
        } catch (IllegalComponentStateException e) {
            // ignore
        }
    }
}

Related

  1. registerCloseAction(final JFrame dialog, KeyStroke keyStroke)
  2. registerMenuShortcut(String uniqueActionName, Action action, int keyCode, JFrame frame)
  3. renderDialog(JFrame theframe, String szMessage, int noffsetx, int noffsety)
  4. replaceGlassPane(JFrame frame, Component newGlassPane)
  5. restoreFrame(Class pClass, final JFrame pFrame, String pFrameId)
  6. rightShiftDialog(JDialog dialog, JFrame parent)
  7. run(JFrame frame, int width, int height)
  8. saveFrame(Class pClass, JFrame pFrame, String pFrameId)
  9. saveMainWindowLocation(JFrame jfrm, String strPropertiesFilePath, String strPropertiesFileName)