Mega Code Archive

 
Categories / Java Tutorial / Development
 

Java awt Toolkit

The Toolkit abstract class has the following methods: public static Toolkit getDefaultToolkit(): Returns the default implementation of the Toolkit class. public abstract void beep (): Produces a beep sound. public abstract Dimension getScreenSize (): Returns a java.awt.Dimension object containing the width and the height of the screen.