<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:55:08 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  BorderFactory
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/BorderFactory.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/AbstractListModel.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/Box.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BorderFactory.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  BorderFactory</H2>
<PRE>
java.lang.Object
  |
  +--<B>javax.swing.BorderFactory</B>
</PRE>
<HR>
<DL>
<DT>public class <B>BorderFactory</B><DT>extends java.lang.Object</DL>

<P>
Factory class for vending standard Border objects.  Whereever
 possible, this factory will hand out references to shared
 Border instances.
<P>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->


<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createBevelBorder(int)">createBevelBorder</A></B>(int&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a beveled border of the specified type, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createBevelBorder(int, java.awt.Color, java.awt.Color)">createBevelBorder</A></B>(int&nbsp;type,
                  java.awt.Color&nbsp;highlight,
                  java.awt.Color&nbsp;shadow)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a beveled border of the specified type, using
 the specified highlighting and shadowing.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createBevelBorder(int, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)">createBevelBorder</A></B>(int&nbsp;type,
                  java.awt.Color&nbsp;highlightOuter,
                  java.awt.Color&nbsp;highlightInner,
                  java.awt.Color&nbsp;shadowOuter,
                  java.awt.Color&nbsp;shadowInner)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a beveled border of the specified type, using
 the specified colors for the inner and outer highlight
 and shadow areas.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/CompoundBorder.html">CompoundBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createCompoundBorder()">createCompoundBorder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a compound border with a null inside edge and a null
 outside edge.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/CompoundBorder.html">CompoundBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createCompoundBorder(javax.swing.border.Border, javax.swing.border.Border)">createCompoundBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;outsideBorder,
                     <A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;insideBorder)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a compound border specifying the border objects to use
 for the outside and inside edges.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createEmptyBorder()">createEmptyBorder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty border that takes up no space.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createEmptyBorder(int, int, int, int)">createEmptyBorder</A></B>(int&nbsp;top,
                  int&nbsp;left,
                  int&nbsp;bottom,
                  int&nbsp;right)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty border that takes up no space but which does
 no drawing, specifying the width of the top, left, bottom, and
 right sides.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createEtchedBorder()">createEtchedBorder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a border with an "etched" look using
 the component's current background color for 
 highlighting and shading.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createEtchedBorder(java.awt.Color, java.awt.Color)">createEtchedBorder</A></B>(java.awt.Color&nbsp;highlight,
                   java.awt.Color&nbsp;shadow)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a border with an "etched" look using
 the specified highlighting and shading colors.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createLineBorder(java.awt.Color)">createLineBorder</A></B>(java.awt.Color&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a line border withe the specified color.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createLineBorder(java.awt.Color, int)">createLineBorder</A></B>(java.awt.Color&nbsp;color,
                 int&nbsp;thickness)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a line border withe the specified color
 and width.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createLoweredBevelBorder()">createLoweredBevelBorder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Created a border with a lowered beveled edge, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/MatteBorder.html">MatteBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createMatteBorder(int, int, int, int, java.awt.Color)">createMatteBorder</A></B>(int&nbsp;top,
                  int&nbsp;left,
                  int&nbsp;bottom,
                  int&nbsp;right,
                  java.awt.Color&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a matte-look border using a solid color.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/MatteBorder.html">MatteBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createMatteBorder(int, int, int, int, javax.swing.Icon)">createMatteBorder</A></B>(int&nbsp;top,
                  int&nbsp;left,
                  int&nbsp;bottom,
                  int&nbsp;right,
                  <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;tileIcon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a matte-look border that consists of multiple tiles of a 
 specified icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createRaisedBevelBorder()">createRaisedBevelBorder</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Created a border with a raised beveled edge, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border)">createTitledBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create 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 (left) and using the default
 font, text color, and edge determined by the current look and feel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String)">createTitledBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                   java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a title to an existing border, specifying the text of
 the title, using the default positioning (sitting on the top
 line) and default justification (left) and using the default
 font and text color determined by the current look and feel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int)">createTitledBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                   java.lang.String&nbsp;title,
                   int&nbsp;titleJustification,
                   int&nbsp;titlePosition)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add 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.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font)">createTitledBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                   java.lang.String&nbsp;title,
                   int&nbsp;titleJustification,
                   int&nbsp;titlePosition,
                   java.awt.Font&nbsp;titleFont)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add 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.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color)">createTitledBorder</A></B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                   java.lang.String&nbsp;title,
                   int&nbsp;titleJustification,
                   int&nbsp;titlePosition,
                   java.awt.Font&nbsp;titleFont,
                   java.awt.Color&nbsp;titleColor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a title to an existing border, specifying the text of
 the title along with its positioning, font, and color.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/BorderFactory.html#createTitledBorder(java.lang.String)">createTitledBorder</A></B>(java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create 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 (left) and using the default
 font and text color determined by the current look and feel.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="createLineBorder(java.awt.Color)"><!-- --></A><H3>
createLineBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createLineBorder</B>(java.awt.Color&nbsp;color)</PRE>
<DL>
<DD>Creates a line border withe the specified color.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - a Color to use for the line<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createLineBorder(java.awt.Color, int)"><!-- --></A><H3>
createLineBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createLineBorder</B>(java.awt.Color&nbsp;color,
                                      int&nbsp;thickness)</PRE>
<DL>
<DD>Creates a line border withe the specified color
 and width. The width applies to all 4 sides of the
 border. To specify widths individually for the top,
 bottom, left, and right, use 
 <A HREF="../../javax/swing/BorderFactory.html#createMatteBorder(int, int, int, int, java.awt.Color)"><CODE>createMatteBorder(int,int,int,int,Color)</CODE></A>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color</CODE> - a Color to use for the line<DD><CODE>thickness</CODE> - an int specifying the width in pixels<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createRaisedBevelBorder()"><!-- --></A><H3>
createRaisedBevelBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createRaisedBevelBorder</B>()</PRE>
<DL>
<DD>Created a border with a raised beveled edge, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.
 (In a raised border, highlights are on top and shadows
  are underneath.)<DD><DL>
<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createLoweredBevelBorder()"><!-- --></A><H3>
createLoweredBevelBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createLoweredBevelBorder</B>()</PRE>
<DL>
<DD>Created a border with a lowered beveled edge, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.
 (In a lowered border, shadows are on top and highlights
  are underneath.)<DD><DL>
<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createBevelBorder(int)"><!-- --></A><H3>
createBevelBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createBevelBorder</B>(int&nbsp;type)</PRE>
<DL>
<DD>Create a beveled border of the specified type, using
 brighter shades of the component's current background color
 for highlighting, and darker shading for shadows.
 (In a lowered border, shadows are on top and highlights
  are underneath.).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - an int specifying either BevelBorder.LOWERED
              or BevelBorder.LOWERED<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createBevelBorder(int, java.awt.Color, java.awt.Color)"><!-- --></A><H3>
createBevelBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createBevelBorder</B>(int&nbsp;type,
                                       java.awt.Color&nbsp;highlight,
                                       java.awt.Color&nbsp;shadow)</PRE>
<DL>
<DD>Create a beveled border of the specified type, using
 the specified highlighting and shadowing. The outer 
 edge of the highlighted area uses a brighter shade of
 the highlight color. The inner edge of the shadow area
 uses a brighter shade of the shadaw color.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - an int specifying either BevelBorder.LOWERED
              or BevelBorder.LOWERED<DD><CODE>highlight</CODE> - a Color object for highlights<DD><CODE>shadow</CODE> - a Color object for shadows<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createBevelBorder(int, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)"><!-- --></A><H3>
createBevelBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createBevelBorder</B>(int&nbsp;type,
                                       java.awt.Color&nbsp;highlightOuter,
                                       java.awt.Color&nbsp;highlightInner,
                                       java.awt.Color&nbsp;shadowOuter,
                                       java.awt.Color&nbsp;shadowInner)</PRE>
<DL>
<DD>Create a beveled border of the specified type, using
 the specified colors for the inner and outer highlight
 and shadow areas.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - an int specifying either BevelBorder.LOWERED
              or BevelBorder.LOWERED<DD><CODE>highlightOuter</CODE> - a Color object for the outer edge of the highlight area<DD><CODE>highlightInner</CODE> - a Color object for the inner edge of the highlight area<DD><CODE>shadowOuter</CODE> - a Color object for the outer edge of the shadow area<DD><CODE>shadowInner</CODE> - a Color object for the inner edge of the shadow area<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createEtchedBorder()"><!-- --></A><H3>
createEtchedBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createEtchedBorder</B>()</PRE>
<DL>
<DD>Create a border with an "etched" look using
 the component's current background color for 
 highlighting and shading.<DD><DL>
<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createEtchedBorder(java.awt.Color, java.awt.Color)"><!-- --></A><H3>
createEtchedBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createEtchedBorder</B>(java.awt.Color&nbsp;highlight,
                                        java.awt.Color&nbsp;shadow)</PRE>
<DL>
<DD>Create a border with an "etched" look using
 the specified highlighting and shading colors.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>highlight</CODE> - a Color object for the border highlights<DD><CODE>shadow</CODE> - a Color object for the border shadows<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(java.lang.String)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Create 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 (left) and using the default
 font and text color determined by the current look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - a String containing the text of the title<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(javax.swing.border.Border)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border)</PRE>
<DL>
<DD>Create 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 (left) and using the default
 font, text color, and edge determined by the current look and feel.
 (The Motif look and feel uses an etched border edge. The Windows
 and the Java look and feel use a gray edge.)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - a String containing the text of the title<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(javax.swing.border.Border, java.lang.String)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                                              java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Add a title to an existing border, specifying the text of
 the title, using the default positioning (sitting on the top
 line) and default justification (left) and using the default
 font and text color determined by the current look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>border</CODE> - the Border object to add the title to<DD><CODE>title</CODE> - a String containing the text of the title<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(javax.swing.border.Border, java.lang.String, int, int)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                                              java.lang.String&nbsp;title,
                                              int&nbsp;titleJustification,
                                              int&nbsp;titlePosition)</PRE>
<DL>
<DD>Add 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.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>border</CODE> - the Border object to add the title to<DD><CODE>title</CODE> - a String containing the text of the title<DD><CODE>titleJustification</CODE> - an int specifying the left/right position
        of the title -- one of TitledBorder.LEFT, TitledBorder.CENTER,
        or TitledBorder.RIGHT, TitledBorder.DEFAULT_JUSTIFICATION (left).<DD><CODE>titlePosition</CODE> - an int specifying the vertical position of
        the text in relation to the border -- one of: TitledBorder.ABOVE_TOP, TitledBorder.TOP
        (sitting on the top line), TitledBorder.BELOW_TOP, TitledBorder.ABOVE_BOTTOM, TitledBorder.BOTTOM
        (sitting on the bottom line), TitledBorder.BELOW_BOTTOM, or 
        TitledBorder.DEFAULT_POSITION (top).<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                                              java.lang.String&nbsp;title,
                                              int&nbsp;titleJustification,
                                              int&nbsp;titlePosition,
                                              java.awt.Font&nbsp;titleFont)</PRE>
<DL>
<DD>Add 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.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>border</CODE> - the Border object to add the title to<DD><CODE>title</CODE> - a String containing the text of the title<DD><CODE>titleJustification</CODE> - an int specifying the left/right position
        of the title -- one of TitledBorder.LEFT, TitledBorder.CENTER,
        or TitledBorder.RIGHT, TitledBorder.DEFAULT_JUSTIFICATION (left).<DD><CODE>titlePosition</CODE> - an int specifying the vertical position of
        the text in relation to the border -- one of: TitledBorder.ABOVE_TOP, TitledBorder.TOP
        (sitting on the top line), TitledBorder.BELOW_TOP, TitledBorder.ABOVE_BOTTOM, TitledBorder.BOTTOM
        (sitting on the bottom line), TitledBorder.BELOW_BOTTOM, or 
        TitledBorder.DEFAULT_POSITION (top).<DD><CODE>titleFont</CODE> - a Font object specifying the title font<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color)"><!-- --></A><H3>
createTitledBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/TitledBorder.html">TitledBorder</A> <B>createTitledBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;border,
                                              java.lang.String&nbsp;title,
                                              int&nbsp;titleJustification,
                                              int&nbsp;titlePosition,
                                              java.awt.Font&nbsp;titleFont,
                                              java.awt.Color&nbsp;titleColor)</PRE>
<DL>
<DD>Add a title to an existing border, specifying the text of
 the title along with its positioning, font, and color.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>border</CODE> - the Border object to add the title to<DD><CODE>title</CODE> - a String containing the text of the title<DD><CODE>titleJustification</CODE> - an int specifying the left/right position
        of the title -- one of TitledBorder.LEFT, TitledBorder.CENTER,
        or TitledBorder.RIGHT, TitledBorder.DEFAULT_JUSTIFICATION (left).<DD><CODE>titlePosition</CODE> - an int specifying the vertical position of
        the text in relation to the border -- one of: TitledBorder.ABOVE_TOP, TitledBorder.TOP
        (sitting on the top line), TitledBorder.BELOW_TOP, TitledBorder.ABOVE_BOTTOM, TitledBorder.BOTTOM
        (sitting on the bottom line), TitledBorder.BELOW_BOTTOM, or 
        TitledBorder.DEFAULT_POSITION (top).<DD><CODE>titleFont</CODE> - a Font object specifying the title font<DD><CODE>titleColor</CODE> - a Color object specifying the title color<DT><B>Returns:</B><DD>the TitledBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createEmptyBorder()"><!-- --></A><H3>
createEmptyBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createEmptyBorder</B>()</PRE>
<DL>
<DD>Creates an empty border that takes up no space. (The width
 of the top, bottom, left, and right sides are all zero.)<DD><DL>
<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createEmptyBorder(int, int, int, int)"><!-- --></A><H3>
createEmptyBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>createEmptyBorder</B>(int&nbsp;top,
                                       int&nbsp;left,
                                       int&nbsp;bottom,
                                       int&nbsp;right)</PRE>
<DL>
<DD>Creates an empty border that takes up no space but which does
 no drawing, specifying the width of the top, left, bottom, and
 right sides.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>top</CODE> - an int specifying the width of the top in pixels<DD><CODE>left</CODE> - an int specifying the width of the left side in pixels<DD><CODE>bottom</CODE> - an int specifying the width of the right side in pixels<DD><CODE>right</CODE> - an int specifying the width of the bottom in pixels<DT><B>Returns:</B><DD>the Border object</DL>
</DD>
</DL>
<HR>

<A NAME="createCompoundBorder()"><!-- --></A><H3>
createCompoundBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/CompoundBorder.html">CompoundBorder</A> <B>createCompoundBorder</B>()</PRE>
<DL>
<DD>Create a compound border with a null inside edge and a null
 outside edge.<DD><DL>
<DT><B>Returns:</B><DD>the CompoundBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createCompoundBorder(javax.swing.border.Border, javax.swing.border.Border)"><!-- --></A><H3>
createCompoundBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/CompoundBorder.html">CompoundBorder</A> <B>createCompoundBorder</B>(<A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;outsideBorder,
                                                  <A HREF="../../javax/swing/border/Border.html">Border</A>&nbsp;insideBorder)</PRE>
<DL>
<DD>Create a compound border specifying the border objects to use
 for the outside and inside edges.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>outsideBorder</CODE> - a Border object for the outer edge of the compound border<DD><CODE>insideBorder</CODE> - a Border object for the inner edge of the compound border<DT><B>Returns:</B><DD>the CompoundBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createMatteBorder(int, int, int, int, java.awt.Color)"><!-- --></A><H3>
createMatteBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/MatteBorder.html">MatteBorder</A> <B>createMatteBorder</B>(int&nbsp;top,
                                            int&nbsp;left,
                                            int&nbsp;bottom,
                                            int&nbsp;right,
                                            java.awt.Color&nbsp;color)</PRE>
<DL>
<DD>Create a matte-look border using a solid color. (The difference between
 this border and a line border is that you can specify the individual
 border dimensions.)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>top</CODE> - an int specifying the width of the top in pixels<DD><CODE>left</CODE> - an int specifying the width of the left side in pixels<DD><CODE>bottom</CODE> - an int specifying the width of the right side in pixels<DD><CODE>right</CODE> - an int specifying the width of the bottom in pixels<DD><CODE>color</CODE> - a Color to use for the border<DT><B>Returns:</B><DD>the MatteBorder object</DL>
</DD>
</DL>
<HR>

<A NAME="createMatteBorder(int, int, int, int, javax.swing.Icon)"><!-- --></A><H3>
createMatteBorder</H3>
<PRE>
public static <A HREF="../../javax/swing/border/MatteBorder.html">MatteBorder</A> <B>createMatteBorder</B>(int&nbsp;top,
                                            int&nbsp;left,
                                            int&nbsp;bottom,
                                            int&nbsp;right,
                                            <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;tileIcon)</PRE>
<DL>
<DD>Create a matte-look border that consists of multiple tiles of a 
 specified icon. Multiple copies of the icon are placed side-by-side
 to fill up the border area.
 <p>
 Note:<br> 
 If the icon doesn't load, the border area is painted gray.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>top</CODE> - an int specifying the width of the top in pixels<DD><CODE>left</CODE> - an int specifying the width of the left side in pixels<DD><CODE>bottom</CODE> - an int specifying the width of the right side in pixels<DD><CODE>right</CODE> - an int specifying the width of the bottom in pixels<DD><CODE>tileIcon</CODE> - the Icon object used for the border tiles<DT><B>Returns:</B><DD>the MatteBorder object</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/BorderFactory.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/AbstractListModel.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/Box.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="BorderFactory.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
