Uses of Package
java.awt
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Provides the classes necessary to create an applet and the classes an applet
uses to communicate with its applet context.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Drag and Drop is a direct manipulation gesture found in many Graphical User
Interface systems that provides a mechanism to transfer information between
two entities logically associated with presentation elements in the GUI.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides classes and interface relating to fonts.
Provides the Java 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides classes and interfaces for the input method framework.
Provides interfaces that enable the development of input methods that can be
used with any Java runtime environment.
Provides classes for creating and modifying images.
Provides classes and interfaces for producing rendering-independent images.
Provides classes and interfaces for a general printing API.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides classes and interfaces relating to bean context.
Defines a contract between user-interface components and an assistive
technology that provides access to those components.
The main package of the Java Image I/O API.
Provides the principal classes and interfaces for the Java Print
Service API.
Package
javax.print.attribute.standard
contains classes for specific
printing attributes.Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swing
component.
Contains classes and interfaces used by the
JColorChooser
component.Provides for events fired by Swing components.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
Provides user interface objects built according to the cross-platform Nimbus
look and feel.
Synth is a skinnable look and feel in which all painting is delegated.
Provides classes and interfaces for dealing with
javax.swing.JTable
.Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.Provides classes and interfaces for dealing with
javax.swing.JTree
.-
ClassDescriptionThe root event class for all AWT events.The
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A class to encapsulate the bitmap representation of the mouse cursor.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Signals that an AWT component is not in an appropriate state for the requested operation.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.AWindow
object is a top-level window with no borders and no menubar. -
ClassDescriptionA component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Inner class of Component used to provide default support for accessibility.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Inner class of Container used to provide default support for accessibility.The
Dimension
class encapsulates the width and height of a component (in integer precision) in a single object.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.The abstract classImage
is the superclass of all classes that represent graphical images.The super class of all menu related containers.Panel
is the simplest container class.This class implements accessibility support for thePanel
class. -
ClassDescriptionThe interface for objects which have an adjustable numeric value contained within a bounded range of values.The
AlphaComposite
class implements basic alpha compositing rules for combining source and destination colors to achieve blending and transparency effects with graphics and images.The root event class for all AWT events.Signals that an Abstract Window Toolkit exception has occurred.AnAWTKeyStroke
represents a key action on the keyboard, or equivalent input device.Capabilities and properties of buffers.A type-safe enumeration of the possible back buffer contents after page-flippingA check box is a graphical component that can be in either an "on" (true
) or "off" (false
) state.TheCheckboxGroup
class is used to group together a set ofCheckbox
buttons.TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Inner class of Component used to provide default support for accessibility.Enumeration of the common ways the baseline of a component can change as the size changes.The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.TheComposite
interface, along withCompositeContext
, defines the methods to compose a draw primitive with the underlying graphics area.TheCompositeContext
interface defines the encapsulated and optimized environment for a compositing operation.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Inner class of Container used to provide default support for accessibility.A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.A class to encapsulate the bitmap representation of the mouse cursor.TheDesktop
class allows interact with various desktop capabilities.Represents an action type.A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.Any top-level window can be marked not to be blocked by modal dialogs.Modal dialogs block all input to some top-level windows.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheDisplayMode
class encapsulates the bit depth, height, width, and refresh rate of aGraphicsDevice
.Deprecated.EventQueue
is a platform-independent class that queues events, both from the underlying peer classes and from trusted application classes.A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.TheFont
class represents fonts, which are used to render text in a visible way.Thrown by method createFont in theFont
class to indicate that the specified font is bad.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.AFrame
is a top-level window with a title and a border.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.TheGraphicsConfigTemplate
class is used to obtain a validGraphicsConfiguration
.TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.TheGraphicsDevice
class describes the graphics devices that might be available in a particular graphics environment.Kinds of translucency supported by the underlying system.TheGraphicsEnvironment
class describes the collection ofGraphicsDevice
objects andFont
objects available to a Java(tm) application on a particular platform.TheGridBagConstraints
class specifies constraints for components that are laid out using theGridBagLayout
class.TheGridBagLayoutInfo
is an utility class forGridBagLayout
layout manager.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.The abstract classImage
is the superclass of all classes that represent graphical images.Capabilities and properties of images.AnInsets
object is a representation of the borders of a container.The interface for objects which contain a set of items for which zero or more can be selected.A set of attributes which control a print job.A type-safe enumeration of possible default selection states.A type-safe enumeration of possible job destinations.A type-safe enumeration of possible dialogs to display to the user.A type-safe enumeration of possible multiple copy handling states.A type-safe enumeration of possible multi-page impositions.The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the targeting and dispatching of all KeyEvents.A KeyEventPostProcessor cooperates with the current KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.Defines the interface for classes that know how to lay outContainer
s.Defines an interface for classes that know how to layoutContainer
s based on a layout constraints object.TheList
component presents the user with a scrolling list of text items.AMenu
object is a pull-down menu component that is deployed from a menu bar.Inner class of Menu used to provide default support for accessibility.TheMenuBar
class encapsulates the platform's concept of a menu bar bound to a frame.The abstract classMenuComponent
is the superclass of all menu-related components.Inner class ofMenuComponent
used to provide default support for accessibility.The super class of all menu related containers.All items in a menu must belong to the classMenuItem
, or one of its subclasses.Inner class of MenuItem used to provide default support for accessibility.TheMenuShortcut
class represents a keyboard accelerator for a MenuItem.This is the superclass for Paints which use a multiple color gradient to fill in their raster.The color space in which to perform the gradient interpolation.The method to use when painting outside the gradient bounds.A set of attributes which control the output of a printed page.A type-safe enumeration of possible color states.A type-safe enumeration of possible paper sizes.A type-safe enumeration of possible orientations.A type-safe enumeration of possible origins.A type-safe enumeration of possible print qualities.ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.ThePaintContext
interface defines the encapsulated and optimized environment to generate color patterns in device space for fill or stroke operations on aGraphics2D
.A point representing a location in(x,y)
coordinate space, specified in integer precision.A class that describes the pointer position.ThePolygon
class encapsulates a description of a closed, two-dimensional region within a coordinate space.A class that implements a menu which can be dynamically popped up at a specified position within a component.An abstract class which initiates and executes a print job.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheRenderingHints
class defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.Defines the base type of all keys used along with theRenderingHints
class to control various algorithm choices in the rendering and imaging pipelines.A helper interface to run the nested event loop.TheShape
interface provides definitions for objects that represent some form of geometric shape.The splash screen can be displayed at application startup, before the Java Virtual Machine (JVM) starts.TheStroke
interface allows aGraphics2D
object to obtain aShape
that is the decorated outline, or stylistic representation of the outline, of the specifiedShape
.A class to encapsulate symbolic colors representing the color of native GUI objects on a system.TheSystemTray
class represents the system tray for a desktop.TheTaskbar
class allows a Java application to interact with the system task area (taskbar, Dock, etc.).List of provided features.Kinds of available window progress states.TheTextComponent
class is the superclass of any component that allows the editing of some text.This class implements accessibility support for theTextComponent
class.This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit.TheTransparency
interface defines the common transparency modes for implementing classes.ATrayIcon
object represents a tray icon that can be added to thesystem tray
.The message type determines which icon will be displayed in the caption of the message, and a possible system sound a message may generate upon showing.AWindow
object is a top-level window with no borders and no menubar.This class implements accessibility support for theWindow
class.Enumeration of available window types. -
ClassDescriptionA component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A class to encapsulate the bitmap representation of the mouse cursor.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.The abstract class
Image
is the superclass of all classes that represent graphical images.AnInsets
object is a representation of the borders of a container.A point representing a location in(x,y)
coordinate space, specified in integer precision. -
ClassDescriptionAn interface for events that know how to dispatch themselves.The interface for objects which have an adjustable numeric value contained within a bounded range of values.The root event class for all AWT events.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.The interface for objects which contain a set of items for which zero or more can be selected.A point representing a location in
(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.AWindow
object is a top-level window with no borders and no menubar. -
ClassDescriptionThe
Font
class represents fonts, which are used to render text in a visible way.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.The abstract classImage
is the superclass of all classes that represent graphical images.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape. -
ClassDescriptionA
Rectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape. -
ClassDescriptionThe root event class for all AWT events.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A
Rectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe root event class for all AWT events.Signals that an Abstract Window Toolkit exception has occurred.The abstract class
Image
is the superclass of all classes that represent graphical images.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.AWindow
object is a top-level window with no borders and no menubar. -
ClassDescriptionCapabilities and properties of buffers.The
Graphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.The abstract classImage
is the superclass of all classes that represent graphical images.Capabilities and properties of images.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheRenderingHints
class defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.TheTransparency
interface defines the common transparency modes for implementing classes. -
ClassDescriptionThe
RenderingHints
class defines and manages collections of keys and associated values which allow an application to provide input into the choice of algorithms used by other classes which perform rendering and image manipulation services.TheShape
interface provides definitions for objects that represent some form of geometric shape. -
ClassDescriptionThe
Graphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. -
ClassDescriptionA component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.The
Graphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.The abstract classImage
is the superclass of all classes that represent graphical images.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
-
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A class to encapsulate the bitmap representation of the mouse cursor.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Signals that an AWT component is not in an appropriate state for the requested operation.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Dimension
class encapsulates the width and height of a component (in integer precision) in a single object.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
GraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse. -
-
ClassDescriptionThe interface for objects which have an adjustable numeric value contained within a bounded range of values.An
AWTKeyStroke
represents a key action on the keyboard, or equivalent input device.TheBasicStroke
class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with aGraphics2D
object that has its Stroke attribute set to thisBasicStroke
.TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Inner class of Component used to provide default support for accessibility.Enumeration of the common ways the baseline of a component can change as the size changes.The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Inner class of Container used to provide default support for accessibility.A class to encapsulate the bitmap representation of the mouse cursor.The default KeyboardFocusManager for AWT applications.A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.This class implements accessibility support for theDialog
class.Modal dialogs block all input to some top-level windows.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.AFrame
is a top-level window with a title and a border.This class implements accessibility support for theFrame
class.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.Thrown when code that is dependent on a keyboard, display, or mouse is called in an environment that does not support a keyboard, display, or mouse.Signals that an AWT component is not in an appropriate state for the requested operation.The abstract classImage
is the superclass of all classes that represent graphical images.AnInsets
object is a representation of the borders of a container.The interface for objects which contain a set of items for which zero or more can be selected.The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the targeting and dispatching of all KeyEvents.A KeyEventPostProcessor cooperates with the current KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.Defines the interface for classes that know how to lay outContainer
s.Defines an interface for classes that know how to layoutContainer
s based on a layout constraints object.TheMediaTracker
class is a utility class to track the status of a number of media objects.The super class of all menu related containers.ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.Panel
is the simplest container class.This class implements accessibility support for thePanel
class.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape.AWindow
object is a top-level window with no borders and no menubar.This class implements accessibility support for theWindow
class. -
ClassDescriptionThe
BasicStroke
class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with aGraphics2D
object that has its Stroke attribute set to thisBasicStroke
.TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Enumeration of the common ways the baseline of a component can change as the size changes.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.AnInsets
object is a representation of the borders of a container.ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.The super class of all menu related containers. -
ClassDescriptionThe root event class for all AWT events.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.
-
ClassDescriptionThe root event class for all AWT events.The
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Enumeration of the common ways the baseline of a component can change as the size changes.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.The abstract classImage
is the superclass of all classes that represent graphical images.AnInsets
object is a representation of the borders of a container.ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheTransparency
interface defines the common transparency modes for implementing classes. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Enumeration of the common ways the baseline of a component can change as the size changes.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.TheGridBagConstraints
class specifies constraints for components that are laid out using theGridBagLayout
class.AnInsets
object is a representation of the borders of a container.The interface for objects which contain a set of items for which zero or more can be selected.Defines the interface for classes that know how to lay outContainer
s.Defines an interface for classes that know how to layoutContainer
s based on a layout constraints object.The super class of all menu related containers.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape.AWindow
object is a top-level window with no borders and no menubar. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.AnInsets
object is a representation of the borders of a container.The interface for objects which contain a set of items for which zero or more can be selected.Defines the interface for classes that know how to lay outContainer
s.The super class of all menu related containers.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Dimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.AnInsets
object is a representation of the borders of a container.TheLinearGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.TheRadialGradientPaint
class provides a way to fill a shape with a circular radial color gradient pattern. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.AnInsets
object is a representation of the borders of a container.Defines the interface for classes that know how to lay outContainer
s.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Inner class of Component used to provide default support for accessibility.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Inner class of Container used to provide default support for accessibility.A class to encapsulate the bitmap representation of the mouse cursor.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.The super class of all menu related containers.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Inner class of Component used to provide default support for accessibility.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Inner class of Container used to provide default support for accessibility.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.AnInsets
object is a representation of the borders of a container.The super class of all menu related containers.A point representing a location in(x,y)
coordinate space, specified in integer precision.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A class to encapsulate the bitmap representation of the mouse cursor.TheFont
class represents fonts, which are used to render text in a visible way.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.The abstract classImage
is the superclass of all classes that represent graphical images.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.TheShape
interface provides definitions for objects that represent some form of geometric shape. -
ClassDescriptionThe
Color
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.TheFont
class represents fonts, which are used to render text in a visible way.TheGraphics
class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images.The super class of all menu related containers.ARectangle
specifies an area in a coordinate space that is enclosed by theRectangle
object's upper-left point(x,y)
in the coordinate space, its width, and its height.
AWTEvent
and its subclasses be used instead