Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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. 
 

Uses of TitledBorder in javax.swing
 

Methods in javax.swing that return TitledBorder
static TitledBorder BorderFactory.createTitledBorder(java.lang.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, java.lang.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, java.lang.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, java.lang.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, java.lang.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.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.