| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| 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.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree.
|
| Constructor and Description | |
|---|---|
BasicStroke(float width, int cap, int join, float miterlimit, float[] dash, float dash_phase)
Constructs a new
BasicStroke with the specified attributes.
|
|
Color(int r, int g, int b, int a)
Creates an sRGB color with the specified red, green, blue, and alpha values in the range (0 - 255).
|
|
Cursor(int type)
Creates a new cursor object with the specified type.
|
|
GradientPaint(Point2D
Constructs either a cyclic or acyclic
GradientPaint object depending on the
boolean parameter.
|
|
LinearGradientPaint(Point2D
Constructs a
LinearGradientPaint.
|
|
RadialGradientPaint(Point2D
Constructs a
RadialGradientPaint.
|
|
ScrollPane(int scrollbarDisplayPolicy)
Create a new scrollpane container.
|
| Constructor and Description | |
|---|---|
AffineTransform(float m00, float m10, float m01, float m11, float m02, float m12)
Constructs a new
AffineTransform from 6 floating point values representing the 6 specifiable entries of the 3x3 transformation matrix.
|
| Constructor and Description | |
|---|---|
EventHandler(Object
Creates a new
EventHandler object; you generally use one of the
create methods instead of invoking this constructor directly.
|
|
Expression(Object
Creates a new
Expression object for the specified target object to invoke the method specified by the name and by the array of arguments.
|
|
Statement(Object
Creates a new
Statement object for the specified target object to invoke the method specified by the name and by the array of arguments.
|
| Constructor and Description | |
|---|---|
BoxLayout(Container
Creates a layout manager that will lay out components along the given axis.
|
|
DefaultCellEditor(JTextField
Constructs a
DefaultCellEditor that uses a text field.
|
|
Filler(Dimension
Constructor to create shape with the given size ranges.
|
|
ImageIcon(String
Creates an ImageIcon from the specified file.
|
|
JButton(String
Creates a button with text.
|
|
JSplitPane(int newOrientation)
Creates a new
JSplitPane configured with the specified orientation.
|
|
JTree(TreeModel
Returns an instance of
JTree which displays the root node -- the tree is created using the specified data model.
|
|
OverlayLayout(Container
Constructs a layout manager that performs overlay arrangement of the children.
|
| Constructor and Description | |
|---|---|
BevelBorder(int bevelType, Color
Creates a bevel border with the specified type, highlight and shadow colors.
|
|
CompoundBorder(Border
Creates a compound border with the specified outside and inside borders.
|
|
EmptyBorder(Insets
Creates an empty border with the specified insets.
|
|
EtchedBorder(int etchType, Color
Creates an etched border with the specified etch-type, highlight and shadow colors.
|
|
LineBorder(Color
Creates a line border with the specified color, thickness, and corner shape.
|
|
SoftBevelBorder(int bevelType, Color
Creates a bevel border with the specified type, highlight shadow colors.
|
|
StrokeBorder(BasicStroke
Creates a border of the specified
stroke and
paint.
|
|
TitledBorder(Border
Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.
|
| Constructor and Description | |
|---|---|
BevelBorderUIResource(int bevelType, Color
|
|
ColorUIResource(int r, int g, int b)
|
|
CompoundBorderUIResource(Border
|
|
EmptyBorderUIResource(Insets
|
|
EtchedBorderUIResource(int etchType, Color
|
|
LineBorderUIResource(Color
|
|
TitledBorderUIResource(Border
|
| Constructor and Description | |
|---|---|
DefaultTreeModel(TreeNode
Creates a tree in which any node can have children.
|
|
TreePath(Object
Creates a
TreePath from an array.
|