Uses of Package
java.awt
-
Packages that use java.awt Package Description java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.dnd 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.java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.java.awt.font Provides classes and interface relating to fonts.java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.java.awt.im Provides classes and interfaces for the input method framework.java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.java.awt.image Provides classes for creating and modifying images.java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images.java.awt.print Provides classes and interfaces for a general printing API.java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.beans.beancontext Provides classes and interfaces relating to bean context.javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components.javax.imageio The main package of the Java Image I/O API.javax.print Provides the principal classes and interfaces for the JavaTM Print Service API.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.border Provides classes and interface for drawing specialized borders around a Swing component.javax.swing.colorchooser Contains classes and interfaces used by theJColorChooser
component.javax.swing.event Provides for events fired by Swing components.javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel.javax.swing.plaf.metal Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.javax.swing.plaf.multi Provides user interface objects that combine two or more look and feels.javax.swing.plaf.nimbus Provides user interface objects built according to the cross-platform Nimbus look and feel.javax.swing.plaf.synth Synth is a skinnable look and feel in which all painting is delegated.javax.swing.table Provides classes and interfaces for dealing withjavax.swing.JTable
.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.html Provides the classHTMLEditorKit
and supporting classes for creating HTML text editors.javax.swing.tree Provides classes and interfaces for dealing withjavax.swing.JTree
. -
Classes in java.awt used by java.applet Class and Description Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.AccessibleAWTComponent Inner class of Component used to provide default support for accessibility.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Container.AccessibleAWTContainer Inner class of Container used to provide default support for accessibility.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.HeadlessException 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.Image The abstract classImage
is the superclass of all classes that represent graphical images.MenuContainer The super class of all menu related containers.Panel Panel
is the simplest container class.Panel.AccessibleAWTPanel This class implements accessibility support for thePanel
class. -
Classes in java.awt used by java.awt Class and Description Adjustable The interface for objects which have an adjustable numeric value contained within a bounded range of values.AlphaComposite TheAlphaComposite
class implements basic alpha compositing rules for combining source and destination colors to achieve blending and transparency effects with graphics and images.AWTEvent The root event class for all AWT events.AWTException Signals that an Abstract Window Toolkit exception has occurred.AWTKeyStroke AnAWTKeyStroke
represents a key action on the keyboard, or equivalent input device.BufferCapabilities Capabilities and properties of buffers.BufferCapabilities.FlipContents A type-safe enumeration of the possible back buffer contents after page-flippingButton This class creates a labeled button.Canvas ACanvas
component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.Checkbox A check box is a graphical component that can be in either an "on" (true
) or "off" (false
) state.CheckboxGroup TheCheckboxGroup
class is used to group together a set ofCheckbox
buttons.CheckboxMenuItem This class represents a check box that can be included in a menu.Choice TheChoice
class presents a pop-up menu of choices.Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.AccessibleAWTComponent Inner class of Component used to provide default support for accessibility.Component.BaselineResizeBehavior Enumeration of the common ways the baseline of a component can change as the size changes.ComponentOrientation The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.Composite TheComposite
interface, along withCompositeContext
, defines the methods to compose a draw primitive with the underlying graphics area.CompositeContext TheCompositeContext
interface defines the encapsulated and optimized environment for a compositing operation.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Container.AccessibleAWTContainer Inner class of Container used to provide default support for accessibility.ContainerOrderFocusTraversalPolicy A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.Cursor A class to encapsulate the bitmap representation of the mouse cursor.Desktop TheDesktop
class allows a Java application to launch associated applications registered on the native desktop to handle aURI
or a file.Desktop.Action Represents an action type.Dialog 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.Dialog.ModalExclusionType Any top-level window can be marked not to be blocked by modal dialogs.Dialog.ModalityType Modal dialogs block all input to some top-level windows.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.DisplayMode TheDisplayMode
class encapsulates the bit depth, height, width, and refresh rate of aGraphicsDevice
.Event NOTE: TheEvent
class is obsolete and is available only for backwards compatibility.EventQueue EventQueue
is a platform-independent class that queues events, both from the underlying peer classes and from trusted application classes.FileDialog TheFileDialog
class displays a dialog window from which the user can select a file.FocusTraversalPolicy A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.Font TheFont
class represents fonts, which are used to render text in a visible way.FontFormatException Thrown by method createFont in theFont
class to indicate that the specified font is bad.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Frame AFrame
is a top-level window with a title and a border.Graphics 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.Graphics2D ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.GraphicsConfigTemplate TheGraphicsConfigTemplate
class is used to obtain a validGraphicsConfiguration
.GraphicsConfiguration TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.GraphicsDevice TheGraphicsDevice
class describes the graphics devices that might be available in a particular graphics environment.GraphicsDevice.WindowTranslucency Kinds of translucency supported by the underlying system.GraphicsEnvironment TheGraphicsEnvironment
class describes the collection ofGraphicsDevice
objects andFont
objects available to a Java(tm) application on a particular platform.GridBagConstraints TheGridBagConstraints
class specifies constraints for components that are laid out using theGridBagLayout
class.GridBagLayoutInfo TheGridBagLayoutInfo
is an utility class forGridBagLayout
layout manager.HeadlessException 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.Image The abstract classImage
is the superclass of all classes that represent graphical images.ImageCapabilities Capabilities and properties of images.Insets AnInsets
object is a representation of the borders of a container.ItemSelectable The interface for objects which contain a set of items for which zero or more can be selected.JobAttributes A set of attributes which control a print job.JobAttributes.DefaultSelectionType A type-safe enumeration of possible default selection states.JobAttributes.DestinationType A type-safe enumeration of possible job destinations.JobAttributes.DialogType A type-safe enumeration of possible dialogs to display to the user.JobAttributes.MultipleDocumentHandlingType A type-safe enumeration of possible multiple copy handling states.JobAttributes.SidesType A type-safe enumeration of possible multi-page impositions.KeyboardFocusManager The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.KeyEventDispatcher A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the targeting and dispatching of all KeyEvents.KeyEventPostProcessor A KeyEventPostProcessor cooperates with the current KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.Label ALabel
object is a component for placing text in a container.LayoutManager Defines the interface for classes that know how to lay outContainer
s.LayoutManager2 Defines an interface for classes that know how to layout Containers based on a layout constraints object.List TheList
component presents the user with a scrolling list of text items.Menu AMenu
object is a pull-down menu component that is deployed from a menu bar.Menu.AccessibleAWTMenu Inner class of Menu used to provide default support for accessibility.MenuBar TheMenuBar
class encapsulates the platform's concept of a menu bar bound to a frame.MenuComponent The abstract classMenuComponent
is the superclass of all menu-related components.MenuComponent.AccessibleAWTMenuComponent Inner class ofMenuComponent
used to provide default support for accessibility.MenuContainer The super class of all menu related containers.MenuItem All items in a menu must belong to the classMenuItem
, or one of its subclasses.MenuItem.AccessibleAWTMenuItem Inner class of MenuItem used to provide default support for accessibility.MenuShortcut TheMenuShortcut
class represents a keyboard accelerator for a MenuItem.MultipleGradientPaint This is the superclass for Paints which use a multiple color gradient to fill in their raster.MultipleGradientPaint.ColorSpaceType The color space in which to perform the gradient interpolation.MultipleGradientPaint.CycleMethod The method to use when painting outside the gradient bounds.PageAttributes A set of attributes which control the output of a printed page.PageAttributes.ColorType A type-safe enumeration of possible color states.PageAttributes.MediaType A type-safe enumeration of possible paper sizes.PageAttributes.OrientationRequestedType A type-safe enumeration of possible orientations.PageAttributes.OriginType A type-safe enumeration of possible origins.PageAttributes.PrintQualityType A type-safe enumeration of possible print qualities.Paint ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.PaintContext ThePaintContext
interface defines the encapsulated and optimized environment to generate color patterns in device space for fill or stroke operations on aGraphics2D
.Panel Panel
is the simplest container class.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.PointerInfo A class that describes the pointer position.Polygon ThePolygon
class encapsulates a description of a closed, two-dimensional region within a coordinate space.PopupMenu A class that implements a menu which can be dynamically popped up at a specified position within a component.PrintJob An abstract class which initiates and executes a print job.Rectangle 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.RenderingHints 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.RenderingHints.Key Defines the base type of all keys used along with theRenderingHints
class to control various algorithm choices in the rendering and imaging pipelines.Scrollbar TheScrollbar
class embodies a scroll bar, a familiar user-interface object.ScrollPane A container class which implements automatic horizontal and/or vertical scrolling for a single child component.SecondaryLoop A helper interface to run the nested event loop.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape.SplashScreen The splash screen can be displayed at application startup, before the Java Virtual Machine (JVM) starts.Stroke TheStroke
interface allows aGraphics2D
object to obtain aShape
that is the decorated outline, or stylistic representation of the outline, of the specifiedShape
.SystemColor A class to encapsulate symbolic colors representing the color of native GUI objects on a system.SystemTray TheSystemTray
class represents the system tray for a desktop.TextArea ATextArea
object is a multi-line region that displays text.TextComponent TheTextComponent
class is the superclass of any component that allows the editing of some text.TextComponent.AccessibleAWTTextComponent This class implements accessibility support for theTextComponent
class.TextField ATextField
object is a text component that allows for the editing of a single line of text.Toolkit This class is the abstract superclass of all actual implementations of the Abstract Window Toolkit.Transparency TheTransparency
interface defines the common transparency modes for implementing classes.TrayIcon ATrayIcon
object represents a tray icon that can be added to thesystem tray
.TrayIcon.MessageType 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.Window AWindow
object is a top-level window with no borders and no menubar.Window.AccessibleAWTWindow This class implements accessibility support for theWindow
class.Window.Type Enumeration of available window types. -
Classes in java.awt used by java.awt.dnd Class and Description Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Cursor A class to encapsulate the bitmap representation of the mouse cursor.HeadlessException 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.Image The abstract classImage
is the superclass of all classes that represent graphical images.Insets AnInsets
object is a representation of the borders of a container.Point A point representing a location in(x,y)
coordinate space, specified in integer precision. -
Classes in java.awt used by java.awt.event Class and Description ActiveEvent An interface for events that know how to dispatch themselves.Adjustable The interface for objects which have an adjustable numeric value contained within a bounded range of values.AWTEvent The root event class for all AWT events.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.ItemSelectable The interface for objects which contain a set of items for which zero or more can be selected.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.Window AWindow
object is a top-level window with no borders and no menubar. -
Classes in java.awt used by java.awt.font Class and Description Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics2D ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.Image The abstract classImage
is the superclass of all classes that represent graphical images.Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape. -
Classes in java.awt used by java.awt.geom Class and Description Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape. -
Classes in java.awt used by java.awt.im Class and Description AWTEvent The root event class for all AWT events.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Rectangle 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. -
Classes in java.awt used by java.awt.im.spi Class and Description AWTEvent The root event class for all AWT events.AWTException Signals that an Abstract Window Toolkit exception has occurred.Image The abstract classImage
is the superclass of all classes that represent graphical images.Rectangle 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.Window AWindow
object is a top-level window with no borders and no menubar. -
Classes in java.awt used by java.awt.image Class and Description BufferCapabilities Capabilities and properties of buffers.Graphics 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.Graphics2D ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.GraphicsConfiguration TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.Image The abstract classImage
is the superclass of all classes that represent graphical images.ImageCapabilities Capabilities and properties of images.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.RenderingHints 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.Transparency TheTransparency
interface defines the common transparency modes for implementing classes. -
Classes in java.awt used by java.awt.image.renderable Class and Description RenderingHints 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape. -
Classes in java.awt used by java.awt.print Class and Description Graphics 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.HeadlessException 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. -
Classes in java.awt used by java.beans Class and Description Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Graphics 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.Image The abstract classImage
is the superclass of all classes that represent graphical images.Rectangle 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. -
Classes in java.awt used by java.beans.beancontext Class and Description Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components. -
Classes in java.awt used by javax.accessibility Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Cursor A class to encapsulate the bitmap representation of the mouse cursor.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.IllegalComponentStateException Signals that an AWT component is not in an appropriate state for the requested operation.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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. -
Classes in java.awt used by javax.imageio Class and Description Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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. -
Classes in java.awt used by javax.print Class and Description GraphicsConfiguration TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.HeadlessException 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. -
Classes in java.awt used by javax.swing Class and Description Adjustable The interface for objects which have an adjustable numeric value contained within a bounded range of values.AWTKeyStroke AnAWTKeyStroke
represents a key action on the keyboard, or equivalent input device.BasicStroke 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
.Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.AccessibleAWTComponent Inner class of Component used to provide default support for accessibility.Component.BaselineResizeBehavior Enumeration of the common ways the baseline of a component can change as the size changes.ComponentOrientation The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Container.AccessibleAWTContainer Inner class of Container used to provide default support for accessibility.Cursor A class to encapsulate the bitmap representation of the mouse cursor.DefaultKeyboardFocusManager The default KeyboardFocusManager for AWT applications.Dialog 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.Dialog.AccessibleAWTDialog This class implements accessibility support for theDialog
class.Dialog.ModalityType Modal dialogs block all input to some top-level windows.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.FocusTraversalPolicy A FocusTraversalPolicy defines the order in which Components with a particular focus cycle root are traversed.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Frame AFrame
is a top-level window with a title and a border.Frame.AccessibleAWTFrame This class implements accessibility support for theFrame
class.Graphics 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.Graphics2D ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.GraphicsConfiguration TheGraphicsConfiguration
class describes the characteristics of a graphics destination such as a printer or monitor.HeadlessException 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.IllegalComponentStateException Signals that an AWT component is not in an appropriate state for the requested operation.Image The abstract classImage
is the superclass of all classes that represent graphical images.Insets AnInsets
object is a representation of the borders of a container.ItemSelectable The interface for objects which contain a set of items for which zero or more can be selected.KeyboardFocusManager The KeyboardFocusManager is responsible for managing the active and focused Windows, and the current focus owner.KeyEventDispatcher A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the targeting and dispatching of all KeyEvents.KeyEventPostProcessor A KeyEventPostProcessor cooperates with the current KeyboardFocusManager in the final resolution of all unconsumed KeyEvents.LayoutManager Defines the interface for classes that know how to lay outContainer
s.LayoutManager2 Defines an interface for classes that know how to layout Containers based on a layout constraints object.MediaTracker TheMediaTracker
class is a utility class to track the status of a number of media objects.MenuContainer The super class of all menu related containers.Paint ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.Panel Panel
is the simplest container class.Panel.AccessibleAWTPanel This class implements accessibility support for thePanel
class.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape.Window AWindow
object is a top-level window with no borders and no menubar.Window.AccessibleAWTWindow This class implements accessibility support for theWindow
class. -
Classes in java.awt used by javax.swing.border Class and Description BasicStroke 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
.Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.BaselineResizeBehavior Enumeration of the common ways the baseline of a component can change as the size changes.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics 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.Insets AnInsets
object is a representation of the borders of a container.Paint ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.Rectangle 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. -
Classes in java.awt used by javax.swing.colorchooser Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Graphics 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.MenuContainer The super class of all menu related containers. -
Classes in java.awt used by javax.swing.event Class and Description AWTEvent The root event class for all AWT events.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components. -
Classes in java.awt used by javax.swing.plaf Class and Description AWTEvent The root event class for all AWT events.Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.BaselineResizeBehavior Enumeration of the common ways the baseline of a component can change as the size changes.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics 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.Insets AnInsets
object is a representation of the borders of a container.Paint ThisPaint
interface defines how color patterns can be generated forGraphics2D
operations.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.Transparency TheTransparency
interface defines the common transparency modes for implementing classes. -
Classes in java.awt used by javax.swing.plaf.basic Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.BaselineResizeBehavior Enumeration of the common ways the baseline of a component can change as the size changes.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Graphics 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.GridBagConstraints TheGridBagConstraints
class specifies constraints for components that are laid out using theGridBagLayout
class.Insets AnInsets
object is a representation of the borders of a container.ItemSelectable The interface for objects which contain a set of items for which zero or more can be selected.LayoutManager Defines the interface for classes that know how to lay outContainer
s.LayoutManager2 Defines an interface for classes that know how to layout Containers based on a layout constraints object.MenuContainer The super class of all menu related containers.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape.Window AWindow
object is a top-level window with no borders and no menubar. -
Classes in java.awt used by javax.swing.plaf.metal Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Graphics 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.Insets AnInsets
object is a representation of the borders of a container.ItemSelectable The interface for objects which contain a set of items for which zero or more can be selected.LayoutManager Defines the interface for classes that know how to lay outContainer
s.MenuContainer The super class of all menu related containers.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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. -
Classes in java.awt used by javax.swing.plaf.multi Class and Description Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Graphics 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.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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. -
Classes in java.awt used by javax.swing.plaf.nimbus Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics2D ThisGraphics2D
class extends theGraphics
class to provide more sophisticated control over geometry, coordinate transformations, color management, and text layout.Insets AnInsets
object is a representation of the borders of a container.LinearGradientPaint TheLinearGradientPaint
class provides a way to fill aShape
with a linear color gradient pattern.RadialGradientPaint TheRadialGradientPaint
class provides a way to fill a shape with a circular radial color gradient pattern. -
Classes in java.awt used by javax.swing.plaf.synth Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Graphics 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.Insets AnInsets
object is a representation of the borders of a container.LayoutManager Defines the interface for classes that know how to lay outContainer
s.Rectangle 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. -
Classes in java.awt used by javax.swing.table Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.AccessibleAWTComponent Inner class of Component used to provide default support for accessibility.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Container.AccessibleAWTContainer Inner class of Container used to provide default support for accessibility.Cursor A class to encapsulate the bitmap representation of the mouse cursor.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.MenuContainer The super class of all menu related containers.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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. -
Classes in java.awt used by javax.swing.text Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Component.AccessibleAWTComponent Inner class of Component used to provide default support for accessibility.ComponentOrientation The ComponentOrientation class encapsulates the language-sensitive orientation that is to be used to order the elements of a component or of text.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Container.AccessibleAWTContainer Inner class of Container used to provide default support for accessibility.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.FontMetrics TheFontMetrics
class defines a font metrics object, which encapsulates information about the rendering of a particular font on a particular screen.Graphics 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.Insets AnInsets
object is a representation of the borders of a container.MenuContainer The super class of all menu related containers.Point A point representing a location in(x,y)
coordinate space, specified in integer precision.Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape. -
Classes in java.awt used by javax.swing.text.html Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Cursor A class to encapsulate the bitmap representation of the mouse cursor.Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics 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.Image The abstract classImage
is the superclass of all classes that represent graphical images.Rectangle 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.Shape TheShape
interface provides definitions for objects that represent some form of geometric shape. -
Classes in java.awt used by javax.swing.tree Class and Description Color TheColor
class is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace
.Component A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.Container A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.Dimension TheDimension
class encapsulates the width and height of a component (in integer precision) in a single object.Font TheFont
class represents fonts, which are used to render text in a visible way.Graphics 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.MenuContainer The super class of all menu related containers.Rectangle 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.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.