java.awt.Toolkit : Toolkit « Development « Java Tutorial






The Toolkit abstract class has the following methods:

  1. public static Toolkit getDefaultToolkit(): Returns the default implementation of the Toolkit class.
  2. public abstract void beep (): Produces a beep sound.
  3. public abstract Dimension getScreenSize (): Returns a java.awt.Dimension object containing the width and the height of the screen.
6.25.Toolkit
6.25.1.java.awt.Toolkit
6.25.2.Getting the Screen Size
6.25.3.Centering a Frame, Window, or Dialog on the Screen