Uses of Class javax.swing.JPanel (Java Platform SE 8 )
Date: 2015-05-24

## Uses of Class
javax.swing.JPanel

- Packages that use JPanel
  Package | Description
  --- | ---
  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.colorchooser | Contains classes and interfaces used by the `JColorChooser` component.
  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.synth | Synth is a skinnable look and feel in which all painting is delegated.

- - ### Uses of JPanel in javax.swing

    Subclasses of JPanel in javax.swing
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `JSpinner.DateEditor` An editor for a `JSpinner` whose model is a `SpinnerDateModel`.
    `static class` | `JSpinner.DefaultEditor` A simple base class for more specialized editors that displays a read-only view of the model's current value with a `JFormattedTextField`.
    `static class` | `JSpinner.ListEditor` An editor for a `JSpinner` whose model is a `SpinnerListModel`.
    `static class` | `JSpinner.NumberEditor` An editor for a `JSpinner` whose model is a `SpinnerNumberModel`.

    Methods in javax.swing that return JPanel
    Modifier and Type | Method and Description
    --- | ---
    `JPanel` | JLayer.`createGlassPane()` Called by the constructor methods to create a default `glassPane`.
    `JPanel` | JLayer.`getGlassPane()` Returns the `JLayer`'s glassPane component or `null`.

    Methods in javax.swing with parameters of type JPanel
    Modifier and Type | Method and Description
    --- | ---
    `void` | JLayer.`setGlassPane(JPanel glassPane)` Sets the `JLayer`'s glassPane component, which can be `null`.

  - ### Uses of JPanel in javax.swing.colorchooser

    Subclasses of JPanel in javax.swing.colorchooser
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractColorChooserPanel` This is the abstract superclass for color choosers.

  - ### Uses of JPanel in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic that return JPanel
    Modifier and Type | Method and Description
    --- | ---
    `JPanel` | BasicFileChooserUI.`getAccessoryPanel()`

    Methods in javax.swing.plaf.basic with parameters of type JPanel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BasicPanelUI.`installDefaults(JPanel p)`
    `protected void` | BasicPanelUI.`uninstallDefaults(JPanel p)`

  - ### Uses of JPanel in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal that return JPanel
    Modifier and Type | Method and Description
    --- | ---
    `protected JPanel` | MetalFileChooserUI.`createDetailsView(JFileChooser fc)`
    `protected JPanel` | MetalFileChooserUI.`createList(JFileChooser fc)`
    `protected JPanel` | MetalFileChooserUI.`getBottomPanel()`
    `protected JPanel` | MetalFileChooserUI.`getButtonPanel()`

  - ### Uses of JPanel in javax.swing.plaf.synth

    Methods in javax.swing.plaf.synth with parameters of type JPanel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | SynthPanelUI.`installDefaults(JPanel p)`
    `protected void` | SynthPanelUI.`installListeners(JPanel p)` Installs listeners into the panel.
    `protected void` | SynthPanelUI.`uninstallDefaults(JPanel p)`
    `protected void` | SynthPanelUI.`uninstallListeners(JPanel p)` Uninstalls listeners from the panel.

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, 2015, Oracle and/or its affiliates. All rights reserved.