# Hierarchy For Package java.awt

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - javax.accessibility.AccessibleContext
    - java.awt.Component.AccessibleAWTComponent (implements javax.accessibility.AccessibleComponent, java.io.Serializable)
      - java.awt.Button.AccessibleAWTButton (implements javax.accessibility.AccessibleAction, javax.accessibility.AccessibleValue)
      - java.awt.Canvas.AccessibleAWTCanvas
      - java.awt.Checkbox.AccessibleAWTCheckbox (implements javax.accessibility.AccessibleAction, javax.accessibility.AccessibleValue, java.awt.event.ItemListener)
      - java.awt.Choice.AccessibleAWTChoice (implements javax.accessibility.AccessibleAction)
      - java.awt.Container.AccessibleAWTContainer
        - java.awt.Panel.AccessibleAWTPanel
        - java.awt.ScrollPane.AccessibleAWTScrollPane
        - java.awt.Window.AccessibleAWTWindow
          - java.awt.Dialog.AccessibleAWTDialog
          - java.awt.Frame.AccessibleAWTFrame
      - java.awt.Label.AccessibleAWTLabel
      - java.awt.List.AccessibleAWTList (implements javax.accessibility.AccessibleSelection, java.awt.event.ActionListener, java.awt.event.ItemListener)
      - java.awt.List.AccessibleAWTList.AccessibleAWTListChild (implements javax.accessibility.Accessible)
      - java.awt.Scrollbar.AccessibleAWTScrollBar (implements javax.accessibility.AccessibleValue)
      - java.awt.TextComponent.AccessibleAWTTextComponent (implements javax.accessibility.AccessibleText, java.awt.event.TextListener)
        - java.awt.TextArea.AccessibleAWTTextArea
        - java.awt.TextField.AccessibleAWTTextField
    - java.awt.MenuComponent.AccessibleAWTMenuComponent (implements javax.accessibility.AccessibleComponent, javax.accessibility.AccessibleSelection, java.io.Serializable)
      - java.awt.MenuBar.AccessibleAWTMenuBar
      - java.awt.MenuItem.AccessibleAWTMenuItem (implements javax.accessibility.AccessibleAction, javax.accessibility.AccessibleValue)
        - java.awt.CheckboxMenuItem.AccessibleAWTCheckboxMenuItem (implements javax.accessibility.AccessibleAction, javax.accessibility.AccessibleValue)
        - java.awt.Menu.AccessibleAWTMenu
          - java.awt.PopupMenu.AccessibleAWTPopupMenu
  - java.awt.AlphaComposite (implements java.awt.Composite)
  - java.awt.AWTEventMulticaster (implements java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.ComponentListener, java.awt.event.ContainerListener, java.awt.event.FocusListener, java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyListener, java.awt.event.InputMethodListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.awt.event.TextListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener)
  - java.awt.AWTKeyStroke (implements java.io.Serializable)
  - java.awt.BasicStroke (implements java.awt.Stroke)
  - java.awt.BorderLayout (implements java.awt.LayoutManager2, java.io.Serializable)
  - java.awt.BufferCapabilities (implements java.lang.Cloneable)
  - java.awt.BufferCapabilities.FlipContents
  - java.awt.image.BufferStrategy
    - java.awt.Component.BltBufferStrategy
    - java.awt.Component.FlipBufferStrategy
  - java.awt.CardLayout (implements java.awt.LayoutManager2, java.io.Serializable)
  - java.awt.CheckboxGroup (implements java.io.Serializable)
  - java.awt.Color (implements java.awt.Paint, java.io.Serializable)
    - java.awt.SystemColor (implements java.io.Serializable)
  - java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
    - java.awt.Button (implements javax.accessibility.Accessible)
    - java.awt.Canvas (implements javax.accessibility.Accessible)
    - java.awt.Checkbox (implements javax.accessibility.Accessible, java.awt.ItemSelectable)
    - java.awt.Choice (implements javax.accessibility.Accessible, java.awt.ItemSelectable)
    - java.awt.Container
      - java.awt.Panel (implements javax.accessibility.Accessible)
      - java.awt.ScrollPane (implements javax.accessibility.Accessible)
      - java.awt.Window (implements javax.accessibility.Accessible)
        - java.awt.Dialog
          - java.awt.FileDialog
        - java.awt.Frame (implements java.awt.MenuContainer)
    - java.awt.Label (implements javax.accessibility.Accessible)
    - java.awt.List (implements javax.accessibility.Accessible, java.awt.ItemSelectable)
    - java.awt.Scrollbar (implements javax.accessibility.Accessible, java.awt.Adjustable)
    - java.awt.TextComponent (implements javax.accessibility.Accessible)
      - java.awt.TextArea
      - java.awt.TextField
  - java.awt.Component.AccessibleAWTComponent.AccessibleAWTComponentHandler (implements java.awt.event.ComponentListener)
  - java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler (implements java.awt.event.FocusListener)
  - java.awt.ComponentOrientation (implements java.io.Serializable)
  - java.awt.Container.AccessibleAWTContainer.AccessibleContainerHandler (implements java.awt.event.ContainerListener)
  - java.awt.Cursor (implements java.io.Serializable)
  - java.awt.Desktop
  - java.awt.geom.Dimension2D (implements java.lang.Cloneable)
    - java.awt.Dimension (implements java.io.Serializable)
  - java.awt.DisplayMode
  - java.awt.Event (implements java.io.Serializable)
  - java.util.EventObject (implements java.io.Serializable)
    - java.awt.AWTEvent
  - java.awt.EventQueue
  - java.awt.FlowLayout (implements java.awt.LayoutManager, java.io.Serializable)
  - java.awt.FocusTraversalPolicy
    - java.awt.ContainerOrderFocusTraversalPolicy (implements java.io.Serializable)
      - java.awt.DefaultFocusTraversalPolicy
  - java.awt.Font (implements java.io.Serializable)
  - java.awt.FontMetrics (implements java.io.Serializable)
  - java.awt.GradientPaint (implements java.awt.Paint)
  - java.awt.Graphics
    - java.awt.Graphics2D
  - java.awt.GraphicsConfigTemplate (implements java.io.Serializable)
  - java.awt.GraphicsConfiguration
  - java.awt.GraphicsDevice
  - java.awt.GraphicsEnvironment
  - java.awt.GridBagConstraints (implements java.lang.Cloneable, java.io.Serializable)
  - java.awt.GridBagLayout (implements java.awt.LayoutManager2, java.io.Serializable)
  - java.awt.GridBagLayoutInfo (implements java.io.Serializable)
  - java.awt.GridLayout (implements java.awt.LayoutManager, java.io.Serializable)
  - java.awt.Image
  - java.awt.ImageCapabilities (implements java.lang.Cloneable)
  - java.awt.Insets (implements java.lang.Cloneable, java.io.Serializable)
  - java.awt.JobAttributes (implements java.lang.Cloneable)
  - java.awt.JobAttributes.DefaultSelectionType
  - java.awt.JobAttributes.DestinationType
  - java.awt.JobAttributes.DialogType
  - java.awt.JobAttributes.MultipleDocumentHandlingType
  - java.awt.JobAttributes.SidesType
  - java.awt.KeyboardFocusManager (implements java.awt.KeyEventDispatcher, java.awt.KeyEventPostProcessor)
    - java.awt.DefaultKeyboardFocusManager
  - java.awt.MediaTracker (implements java.io.Serializable)
  - java.awt.MenuComponent (implements java.io.Serializable)
    - java.awt.MenuBar (implements javax.accessibility.Accessible, java.awt.MenuContainer)
    - java.awt.MenuItem (implements javax.accessibility.Accessible)
      - java.awt.CheckboxMenuItem (implements javax.accessibility.Accessible, java.awt.ItemSelectable)
      - java.awt.Menu (implements javax.accessibility.Accessible, java.awt.MenuContainer)
        - java.awt.PopupMenu
  - java.awt.MenuShortcut (implements java.io.Serializable)
  - java.awt.MouseInfo
  - java.awt.MultipleGradientPaint (implements java.awt.Paint)
    - java.awt.LinearGradientPaint
    - java.awt.RadialGradientPaint
  - java.awt.PageAttributes (implements java.lang.Cloneable)
  - java.awt.PageAttributes.ColorType
  - java.awt.PageAttributes.MediaType
  - java.awt.PageAttributes.OrientationRequestedType
  - java.awt.PageAttributes.OriginType
  - java.awt.PageAttributes.PrintQualityType
  - java.security.Permission (implements java.security.Guard, java.io.Serializable)
    - java.security.BasicPermission (implements java.io.Serializable)
      - java.awt.AWTPermission
  - java.awt.geom.Point2D (implements java.lang.Cloneable)
    - java.awt.Point (implements java.io.Serializable)
  - java.awt.PointerInfo
  - java.awt.Polygon (implements java.io.Serializable, java.awt.Shape)
  - java.awt.PrintJob
  - java.awt.geom.RectangularShape (implements java.lang.Cloneable, java.awt.Shape)
    - java.awt.geom.Rectangle2D
      - java.awt.Rectangle (implements java.io.Serializable, java.awt.Shape)
  - java.awt.RenderingHints (implements java.lang.Cloneable, java.util.Map<K,V>)
  - java.awt.RenderingHints.Key
  - java.awt.Robot
  - java.awt.ScrollPaneAdjustable (implements java.awt.Adjustable, java.io.Serializable)
  - java.awt.SplashScreen
  - java.awt.SystemTray
  - java.awt.TexturePaint (implements java.awt.Paint)
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Error
      - java.awt.AWTError
    - java.lang.Exception
      - java.awt.AWTException
      - java.awt.FontFormatException
      - java.lang.RuntimeException
        - java.lang.IllegalStateException
          - java.awt.IllegalComponentStateException
        - java.lang.UnsupportedOperationException
          - java.awt.HeadlessException
  - java.awt.Toolkit
  - java.awt.TrayIcon

## Interface Hierarchy

- java.awt.ActiveEvent
- java.awt.Adjustable
- java.awt.Composite
- java.awt.CompositeContext
- java.awt.ItemSelectable
- java.awt.KeyEventDispatcher
- java.awt.KeyEventPostProcessor
- java.awt.LayoutManager
  - java.awt.LayoutManager2
- java.awt.MenuContainer
- java.awt.PaintContext
- java.awt.PrintGraphics
- java.awt.SecondaryLoop
- java.awt.Shape
- java.awt.Stroke
- java.awt.Transparency
  - java.awt.Paint

## Enum Hierarchy

- java.lang.Object
  - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    - java.awt.MultipleGradientPaint.CycleMethod
    - java.awt.MultipleGradientPaint.ColorSpaceType
    - java.awt.Desktop.Action
    - java.awt.TrayIcon.MessageType
    - java.awt.Dialog.ModalityType
    - java.awt.Dialog.ModalExclusionType
    - java.awt.GraphicsDevice.WindowTranslucency
    - java.awt.Window.Type
    - java.awt.Component.BaselineResizeBehavior

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.