Uses of Class
javax.swing.border.TitledBorder

Packages that use TitledBorder
Package
Description
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
  • Uses of TitledBorder in javax.swing

    Methods in javax.swing that return TitledBorder
    Modifier and Type
    Method
    Description
    BorderFactory.createTitledBorder(String title)
    Creates a new titled border with the specified title, the default border type (determined by the current look and feel), the default text position (determined by the current look and feel), the default justification (leading), and the default font and text color (determined by the current look and feel).
    BorderFactory.createTitledBorder(Border border)
    Creates a new titled border with an empty title, the specified border object, the default text position (determined by the current look and feel), the default justification (leading), and the default font and text color (determined by the current look and feel).
    BorderFactory.createTitledBorder(Border border, String title)
    Adds a title to an existing border, with default positioning (determined by the current look and feel), default justification (leading) and the default font and text color (determined by the current look and feel).
    BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition)
    Adds a title to an existing border, with the specified positioning and using the default font and text color (determined by the current look and feel).
    BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
    Adds a title to an existing border, with the specified positioning and font, and using the default text color (determined by the current look and feel).
    BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
    Adds a title to an existing border, with the specified positioning, font and color.
  • Uses of TitledBorder in javax.swing.plaf

    Modifier and Type
    Class
    Description
    static class 
    A titled border UI resource.