Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.awt.HeadlessException

Packages that use HeadlessException
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of HeadlessException in java.awt
 

Methods in java.awt that throw HeadlessException
protected  void Toolkit.loadSystemColors(int[] systemColors)
          Fills in the integer array that is supplied as an argument with the current system color values.
abstract  Dimension Toolkit.getScreenSize()
          Gets the size of the screen.
abstract  int Toolkit.getScreenResolution()
          Returns the screen resolution in dots-per-inch.
 Insets Toolkit.getScreenInsets(GraphicsConfiguration gc)
          Gets the insets of the screen.
abstract  ColorModel Toolkit.getColorModel()
          Determines the color model of this toolkit's screen.
 boolean Toolkit.isFrameStateSupported(int state)
          Returns whether Toolkit supports this state for Frames.
abstract  GraphicsDevice[] GraphicsEnvironment.getScreenDevices()
          Returns an array of all of the screen GraphicsDevice objects.
abstract  GraphicsDevice GraphicsEnvironment.getDefaultScreenDevice()
          Returns the default screen GraphicsDevice.
 

Constructors in java.awt that throw HeadlessException
Frame()
          Constructs a new instance of Frame that is initially invisible.
Frame(String title)
          Constructs a new, initially invisible Frame object with the specified title.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.