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.plaf.metal |
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
|
Modifier and Type | Method | Description |
---|---|---|
static LayoutStyle |
LayoutStyle.getInstance() |
Returns the shared instance of
LayoutStyle . |
LayoutStyle |
GroupLayout.getLayoutStyle() |
Returns the
LayoutStyle used for calculating the preferred
gap between components. |
LayoutStyle |
LookAndFeel.getLayoutStyle() |
Returns the
LayoutStyle for this look
and feel. |
Modifier and Type | Method | Description |
---|---|---|
static void |
LayoutStyle.setInstance(LayoutStyle style) |
Sets the shared instance of
LayoutStyle . |
void |
GroupLayout.setLayoutStyle(LayoutStyle layoutStyle) |
Sets the
LayoutStyle used to calculate the preferred
gaps between components. |
Modifier and Type | Method | Description |
---|---|---|
LayoutStyle |
MetalLookAndFeel.getLayoutStyle() |
Returns a
LayoutStyle implementing the Java look and feel
design guidelines as specified at
http://www.oracle.com/technetwork/java/hig-136467.html. |
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps