Java JFrame igualarFormularios(JFrame destino, JFrame origen)

Here you can find the source of igualarFormularios(JFrame destino, JFrame origen)

Description

igualar Formularios

License

Open Source License

Declaration

public static void igualarFormularios(JFrame destino, JFrame origen) 

Method Source Code

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

import javax.swing.JFrame;

public class Main {
    public static void igualarFormularios(JFrame destino, JFrame origen) {
        destino.setExtendedState(origen.getExtendedState());
        if (origen.getExtendedState() == JFrame.NORMAL) {
            destino.setSize(origen.getSize());
            destino.setLocation(origen.getLocation());
        }/*from   w w  w.j av  a 2  s  .c o  m*/
    }
}

Related

  1. getTheJFrame(String title, int width, int height, int x, int y)
  2. getTopJFrame(Container c)
  3. getUserInput(JFrame _frame, String arg1, String arg2, Object arg3)
  4. getViewMenu(JFrame mainFrame)
  5. giveFrameHalfScreen(final JFrame frame)
  6. inputFiles(JFrame argParent)
  7. installEscapeCloseOperation(final JFrame dialog)
  8. internalizeFrame(JFrame frame)
  9. isAv(JFrame frame)