Class Frames

java.lang.Object
org.gvsig.catalog.utils.Frames

public class Frames extends Object
Author:
Jorge Piera Llodra (piera_jor@gva.es)
  • Constructor Details

    • Frames

      public Frames()
  • Method Details

    • centerFrame

      public static void centerFrame(JFrame frame, int width, int height)
      Sets a JFrame on the screen center
      Parameters:
      frame - JFrams
      width - Frame width
      height - Frame height
    • centerFrame

      public static void centerFrame(JDialog dialog, int width, int height)
      Sets a JDialog on the screen center
      Parameters:
      dialog - JDilog
      width - Dilaog width
      height - Dialog height
    • searchDialogPosition

      public static void searchDialogPosition(JDialog dialog, int width, int height)
      Sets a JDialog on the upper rigth corner
      Parameters:
      dialog - JDilog
      width - Dilaog width
      height - Dialog height