Package javax.swing.border

Provides classes and interface for drawing specialized borders around a Swing component.

See: Description

  • Interface Summary 
    Interface Description
    Border
    Interface describing an object capable of rendering a border around the edges of a swing component.

      

  • Class Summary 
    Class Description
    AbstractBorder
    A class that implements an empty border with no size.
    BevelBorder
    A class which implements a simple two-line bevel border.
    CompoundBorder
    A composite Border class used to compose two Border objects into a single border by nesting an inside Border object within the insets of an outside Border object.
    EmptyBorder
    A class which provides an empty, transparent border which takes up space but does no drawing.
    EtchedBorder
    A class which implements a simple etched border which can either be etched-in or etched-out.
    LineBorder
    A class which implements a line border of arbitrary thickness and of a single color.
    MatteBorder
    A class which provides a matte-like border of either a solid color or a tiled icon.
    SoftBevelBorder
    A class which implements a raised or lowered bevel with softened corners.
    StrokeBorder
    A class which implements a border of an arbitrary stroke.
    TitledBorder
    A class which implements an arbitrary border with the addition of a String title in a specified position and justification.

      

Package javax.swing.border Description

Provides classes and interface for drawing specialized borders around a Swing component. You can subclass these classes to create customized borders for your components instead of using the default borders provided by the look-and-feel being used.

Note: Most of the Swing API is not thread safe. For details, see Threads and Swing, a section in The Java Tutorial.

For overviews, tutorials, examples, guides, and tool documentation, please see:
Since:
1.2

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/border/package-summary.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut