?? borderfactory.html
字號:
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createEtchedBorder()">createEtchedBorder</A></B>()</CODE>
<BR> Creates a
border with an "etched" look using the component's current background
color for highlighting and shading.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createEtchedBorder(java.awt.Color, java.awt.Color)">createEtchedBorder</A></B>(<A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> highlight,
<A title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> shadow)</CODE>
<BR> Creates a
border with an "etched" look using the specified highlighting and shading
colors.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createEtchedBorder(int)">createEtchedBorder</A></B>(int type)</CODE>
<BR> Creates a
border with an "etched" look using the component's current background
color for highlighting and shading.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createEtchedBorder(int, java.awt.Color, java.awt.Color)">createEtchedBorder</A></B>(int type,
<A title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> highlight,
<A title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> shadow)</CODE>
<BR> Creates a
border with an "etched" look using the specified highlighting and shading
colors.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createLineBorder(java.awt.Color)">createLineBorder</A></B>(<A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> color)</CODE>
<BR> Creates a
line border withe the specified color.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createLineBorder(java.awt.Color, int)">createLineBorder</A></B>(<A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> color,
int thickness)</CODE>
<BR> Creates a
line border with the specified color and width.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createLoweredBevelBorder()">createLoweredBevelBorder</A></B>()</CODE>
<BR> Creates 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 class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/MatteBorder.html">MatteBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createMatteBorder(int, int, int, int, java.awt.Color)">createMatteBorder</A></B>(int top,
int left, int bottom, int right, <A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> color)</CODE>
<BR> Creates a
matte-look border using a solid color.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/MatteBorder.html">MatteBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createMatteBorder(int, int, int, int, javax.swing.Icon)">createMatteBorder</A></B>(int top,
int left, int bottom, int right, <A
title="interface in javax.swing"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/Icon.html">Icon</A> tileIcon)</CODE>
<BR> Creates a
matte-look border that consists of multiple tiles of a specified
icon.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createRaisedBevelBorder()">createRaisedBevelBorder</A></B>()</CODE>
<BR> Creates 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 class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border)">createTitledBorder</A></B>(<A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> border)</CODE>
<BR> 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.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String)">createTitledBorder</A></B>(<A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> border,
<A title="class in java.lang"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/lang/String.html">String</A> title)</CODE>
<BR> 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.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int)">createTitledBorder</A></B>(<A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> border,
<A title="class in java.lang"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/lang/String.html">String</A> title,
int titleJustification, int titlePosition)</CODE>
<BR> 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.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font)">createTitledBorder</A></B>(<A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> border,
<A title="class in java.lang"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/lang/String.html">String</A> title,
int titleJustification, int titlePosition, <A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Font.html">Font</A> titleFont)</CODE>
<BR> 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.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color)">createTitledBorder</A></B>(<A
title="interface in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/Border.html">Border</A> border,
<A title="class in java.lang"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/lang/String.html">String</A> title,
int titleJustification, int titlePosition, <A
title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Font.html">Font</A> titleFont,
<A title="class in java.awt"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/awt/Color.html">Color</A> titleColor)</CODE>
<BR> Adds a
title to an existing border, specifying the text of the title along with
its positioning, font, and color.</TD></TR>
<TR class=TableRowColor bgColor=white>
<TD vAlign=top align=right width="1%"><FONT size=-1><CODE>static <A
title="class in javax.swing.border"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/border/TitledBorder.html">TitledBorder</A></CODE></FONT></TD>
<TD><CODE><B><A
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/javax/swing/BorderFactory.html#createTitledBorder(java.lang.String)">createTitledBorder</A></B>(<A
title="class in java.lang"
href="file:///D:/Tools/j2sdk-1_4_2-doc/api/java/lang/String.html">String</A> title)</CODE>
<BR> 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.</TD></TR></TBODY></TABLE> <A
name=methods_inherited_from_class_java.lang.Object><!-- --></A>
<TABLE cellSpacing=0 cellPadding=3 width="100%" summary="" border=1>
<TBODY>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -