## Uses of Class
javax.swing.JLayer

- Packages that use JLayer
  Package | Description
  --- | ---
  javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.

- - ### Uses of JLayer in javax.swing.plaf

    Methods in javax.swing.plaf with parameters of type JLayer
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | LayerUI.`applyPropertyChange(PropertyChangeEvent evt, JLayer<? extends V> l)` Notifies the `LayerUI` when any of its property are changed and enables updating every `JLayer` this `LayerUI` instance is set to.
    `void` | LayerUI.`doLayout(JLayer<? extends V> l)` Causes the passed instance of `JLayer` to lay out its components.
    `void` | LayerUI.`eventDispatched(AWTEvent e, JLayer<? extends V> l)` Processes `AWTEvent`s for `JLayer` and all its descendants to this `LayerUI` instance.
    `void` | LayerUI.`paintImmediately(int x, int y, int width, int height, JLayer<? extends V> l)` Paints the specified region in the `JLayer` this `LayerUI` is set to, immediately.
    `protected void` | LayerUI.`processComponentEvent(ComponentEvent e, JLayer<? extends V> l)` Processes component events occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processFocusEvent(FocusEvent e, JLayer<? extends V> l)` Processes focus events occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processHierarchyBoundsEvent(HierarchyEvent e, JLayer<? extends V> l)` Processes hierarchy bounds event occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processHierarchyEvent(HierarchyEvent e, JLayer<? extends V> l)` Processes hierarchy event occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processInputMethodEvent(InputMethodEvent e, JLayer<? extends V> l)` Processes input event occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processKeyEvent(KeyEvent e, JLayer<? extends V> l)` Processes key events occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processMouseEvent(MouseEvent e, JLayer<? extends V> l)` Processes mouse events occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processMouseMotionEvent(MouseEvent e, JLayer<? extends V> l)` Processes mouse motion event occurring on the `JLayer` or any of its subcomponents.
    `protected void` | LayerUI.`processMouseWheelEvent(MouseWheelEvent e, JLayer<? extends V> l)` Processes mouse wheel event occurring on the `JLayer` or any of its subcomponents.
    `void` | LayerUI.`updateUI(JLayer<? extends V> l)` Invoked when `updateUI()` is called by the `JLayer` this `LayerUI` is set to.

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.