Class WindowUtils


  • public class WindowUtils
    extends java.lang.Object
    Version:
    $Revision: 1.2 $, $Date: 2005/07/02 21:47:29 $
    Author:
    $Author: zombi $
    • Constructor Summary

      Constructors 
      Constructor Description
      WindowUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void centerOnScreen​(java.awt.Window w)
      Description of the Method
      static javax.swing.JButton getWindowButton​(javax.swing.JDialog window, java.lang.String name)  
      static javax.swing.JButton getWindowButton​(javax.swing.JFrame window, java.lang.String name)  
      static javax.swing.JButton getWindowButton​(javax.swing.JRootPane rootPane, java.lang.String name)  
      static void sizeTo​(java.awt.Window w, double x, double y)
      Description of the Method
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowUtils

        public WindowUtils()
    • Method Detail

      • centerOnScreen

        public static void centerOnScreen​(java.awt.Window w)
        Description of the Method
        Parameters:
        w - Description of Parameter
      • sizeTo

        public static void sizeTo​(java.awt.Window w,
                                  double x,
                                  double y)
        Description of the Method
        Parameters:
        w - Description of Parameter
        x - Description of Parameter
        y - Description of Parameter
      • getWindowButton

        public static javax.swing.JButton getWindowButton​(javax.swing.JFrame window,
                                                          java.lang.String name)
      • getWindowButton

        public static javax.swing.JButton getWindowButton​(javax.swing.JDialog window,
                                                          java.lang.String name)
      • getWindowButton

        public static javax.swing.JButton getWindowButton​(javax.swing.JRootPane rootPane,
                                                          java.lang.String name)