Uses of Class java.beans.ConstructorProperties (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.beans.ConstructorProperties

- Packages that use ConstructorProperties
  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`.

- - ### Uses of ConstructorProperties in java.awt

    Constructors in java.awt with annotations of type ConstructorProperties
    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 pt1, Color color1, Point2D pt2, Color color2, boolean cyclic)` Constructs either a cyclic or acyclic `GradientPaint` object depending on the `boolean` parameter.
    `LinearGradientPaint(Point2D start, Point2D end, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform)` Constructs a `LinearGradientPaint`.
    `RadialGradientPaint(Point2D center, float radius, Point2D focus, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform)` Constructs a `RadialGradientPaint`.
    `ScrollPane(int scrollbarDisplayPolicy)` Create a new scrollpane container.

  - ### Uses of ConstructorProperties in java.awt.geom

    Constructors in java.awt.geom with annotations of type ConstructorProperties
    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.

  - ### Uses of ConstructorProperties in java.beans

    Constructors in java.beans with annotations of type ConstructorProperties
    Constructor and Description
    `EventHandler(Object target, String action, String eventPropertyName, String listenerMethodName)` Creates a new `EventHandler` object; you generally use one of the `create` methods instead of invoking this constructor directly.
    `Expression(Object target, String methodName, Object[] arguments)` 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 target, String methodName, Object[] arguments)` Creates a new `Statement` object for the specified target object to invoke the method specified by the name and by the array of arguments.

  - ### Uses of ConstructorProperties in javax.swing

    Constructors in javax.swing with annotations of type ConstructorProperties
    Constructor and Description
    `BoxLayout(Container target, int axis)` Creates a layout manager that will lay out components along the given axis.
    `DefaultCellEditor(JTextField textField)` Constructs a `DefaultCellEditor` that uses a text field.
    `Filler(Dimension min, Dimension pref, Dimension max)` Constructor to create shape with the given size ranges.
    `ImageIcon(String filename)` Creates an ImageIcon from the specified file.
    `JButton(String text)` Creates a button with text.
    `JSplitPane(int newOrientation)` Creates a new `JSplitPane` configured with the specified orientation.
    `JTree(TreeModel newModel)` Returns an instance of `JTree` which displays the root node -- the tree is created using the specified data model.
    `OverlayLayout(Container target)` Constructs a layout manager that performs overlay arrangement of the children.

  - ### Uses of ConstructorProperties in javax.swing.border

    Constructors in javax.swing.border with annotations of type ConstructorProperties
    Constructor and Description
    `BevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor)` Creates a bevel border with the specified type, highlight and shadow colors.
    `CompoundBorder(Border outsideBorder, Border insideBorder)` Creates a compound border with the specified outside and inside borders.
    `EmptyBorder(Insets borderInsets)` Creates an empty border with the specified insets.
    `EtchedBorder(int etchType, Color highlight, Color shadow)` Creates an etched border with the specified etch-type, highlight and shadow colors.
    `LineBorder(Color color, int thickness, boolean roundedCorners)` Creates a line border with the specified color, thickness, and corner shape.
    `SoftBevelBorder(int bevelType, Color highlightOuterColor, Color highlightInnerColor, Color shadowOuterColor, Color shadowInnerColor)` Creates a bevel border with the specified type, highlight shadow colors.
    `StrokeBorder(BasicStroke stroke, Paint paint)` Creates a border of the specified `stroke` and `paint`.
    `TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)` Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.

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

    Constructors in javax.swing.plaf with annotations of type ConstructorProperties
    Constructor and Description
    `BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)`
    `ColorUIResource(int r, int g, int b)`
    `CompoundBorderUIResource(Border outsideBorder, Border insideBorder)`
    `EmptyBorderUIResource(Insets insets)`
    `EtchedBorderUIResource(int etchType, Color highlight, Color shadow)`
    `LineBorderUIResource(Color color, int thickness)`
    `TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)`

  - ### Uses of ConstructorProperties in javax.swing.tree

    Constructors in javax.swing.tree with annotations of type ConstructorProperties
    Constructor and Description
    `DefaultTreeModel(TreeNode root)` Creates a tree in which any node can have children.
    `TreePath(Object[] path)` Creates a `TreePath` from an array.

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.