JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
javax.swing.border.TitledBorder

Packages that use TitledBorder
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 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
static TitledBorder BorderFactory.createTitledBorder(String title)
          Creates a new title border specifying the text of the title, using the default border (etched), using the default text position (sitting on the top line) and default justification (leading) and using the default font and text color determined by the current look and feel.
static TitledBorder BorderFactory.createTitledBorder(Border border)
          Creates a new title border with an empty title specifying the border object, using the default text position (sitting on the top line) and default justification (leading) and using the default font, and text color.
static TitledBorder BorderFactory.createTitledBorder(Border border, String title)
          Adds a title to an existing border, specifying the text of the title, using the default positioning (sitting on the top line) and default justification (leading) and using the default font and text color determined by the current look and feel.
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition)
          Adds a title to an existing border, specifying the text of the title along with its positioning, using the default font and text color determined by the current look and feel.
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
          Adds a title to an existing border, specifying the text of the title along with its positioning and font, using the default text color determined by the current look and feel.
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
          Adds a title to an existing border, specifying the text of the title along with its positioning, font, and color.
 

Uses of TitledBorder in javax.swing.plaf
 

Subclasses of TitledBorder in javax.swing.plaf
static class BorderUIResource.TitledBorderUIResource
           
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.