Java™ Platform
Standard Ed. 6

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(Border border)
          Creates a new titled border with an empty title, the specified border object, the default text position (sitting on the top line), the default justification (leading), and the default font and text color (determined by the current look and feel).
static TitledBorder BorderFactory.createTitledBorder(Border border, String title)
          Adds a title to an existing border, with default positioning (sitting on the top line), default justification (leading) and 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, with the specified positioning 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, 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).
static TitledBorder 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.
static TitledBorder 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 (sitting on the top line), the default justification (leading), and the default font and text color (determined by the current look and feel).
 

Uses of TitledBorder in javax.swing.plaf
 

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


Java™ Platform
Standard Ed. 6

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

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.