<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:37 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  LookAndFeel
</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/LookAndFeel.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/KeyStroke.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/MenuSelectionManager.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="LookAndFeel.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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  LookAndFeel</H2>
<PRE>
java.lang.Object
  |
  +--<B>javax.swing.LookAndFeel</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/swing/plaf/basic/BasicLookAndFeel.html">BasicLookAndFeel</A>, <A HREF="../../javax/swing/plaf/multi/MultiLookAndFeel.html">MultiLookAndFeel</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>LookAndFeel</B><DT>extends java.lang.Object</DL>

<P>
Completely characterizes a look and feel from the point of view
 of the pluggable look and feel components.
<P>
<HR>

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


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


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

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#LookAndFeel()">LookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;<A HREF="../../javax/swing/UIDefaults.html">UIDefaults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#getDefaults()">getDefaults</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called once by UIManager.setLookAndFeel to create
 the look and feel specific defaults table.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#getDescription()">getDescription</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a one line description of this look and feel implementation, 
 e.g.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#getID()">getID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string that identifies this look and feel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a short string that identifies this look and feel, e.g.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#initialize()">initialize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UIManager.setLookAndFeel calls this method before the first
 call (and typically the only call) to getDefaults().</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#installBorder(javax.swing.JComponent, java.lang.String)">installBorder</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
              java.lang.String&nbsp;defaultBorderName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for installing a component's default Border 
 object on the specified component if either the border is 
 currently null or already an instance of UIResource.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#installColors(javax.swing.JComponent, java.lang.String, java.lang.String)">installColors</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
              java.lang.String&nbsp;defaultBgName,
              java.lang.String&nbsp;defaultFgName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for initializing a component's foreground
 and background color properties with values from the current
 defaults table.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String)">installColorsAndFont</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
                     java.lang.String&nbsp;defaultBgName,
                     java.lang.String&nbsp;defaultFgName,
                     java.lang.String&nbsp;defaultFontName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for initializing a components foreground
 background and font properties with values from the current
 defaults table.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#isNativeLookAndFeel()">isNativeLookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the underlying platform has a "native" look and feel, and this
 is an implementation of it, return true.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#isSupportedLookAndFeel()">isSupportedLookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the underlying platform supports and or permits
 this look and feel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#makeIcon(java.lang.Class, java.lang.String)">makeIcon</A></B>(java.lang.Class&nbsp;baseClass,
         java.lang.String&nbsp;gifFile)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility method that creates a UIDefaults.LazyValue that creates
 an ImageIcon UIResource for the specified <code>gifFile</code>
 filename.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/text/JTextComponent.KeyBinding.html">JTextComponent.KeyBinding</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#makeKeyBindings(java.lang.Object[])">makeKeyBindings</A></B>(java.lang.Object[]&nbsp;keyBindingList)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for building lists of KeyBindings.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that displays and identifies this
 object's properties.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#uninitialize()">uninitialize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UIManager.setLookAndFeel calls this method just before we're
 replaced by a new default look and feel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/LookAndFeel.html#uninstallBorder(javax.swing.JComponent)">uninstallBorder</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for un-installing a component's default 
 border on the specified component if the border is 
 currently an instance of UIResource.</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, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

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


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

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

<A NAME="LookAndFeel()"><!-- --></A><H3>
LookAndFeel</H3>
<PRE>
public <B>LookAndFeel</B>()</PRE>
<DL>
</DL>

<!-- ============ 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="installColors(javax.swing.JComponent, java.lang.String, java.lang.String)"><!-- --></A><H3>
installColors</H3>
<PRE>
public static void <B>installColors</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
                                 java.lang.String&nbsp;defaultBgName,
                                 java.lang.String&nbsp;defaultFgName)</PRE>
<DL>
<DD>Convenience method for initializing a component's foreground
 and background color properties with values from the current
 defaults table.  The properties are only set if the current
 value is either null or a UIResource.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the target component for installing default color/font properties<DD><CODE>defaultBgName</CODE> - the key for the default background<DD><CODE>defaultFgName</CODE> - the key for the default foreground<DT><B>See Also: </B><DD><A HREF="../../javax/swing/LookAndFeel.html#installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String)"><CODE>installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String)</CODE></A>, 
<A HREF="../../javax/swing/UIManager.html#getColor(java.lang.Object)"><CODE>UIManager.getColor(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
installColorsAndFont</H3>
<PRE>
public static void <B>installColorsAndFont</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
                                        java.lang.String&nbsp;defaultBgName,
                                        java.lang.String&nbsp;defaultFgName,
                                        java.lang.String&nbsp;defaultFontName)</PRE>
<DL>
<DD>Convenience method for initializing a components foreground
 background and font properties with values from the current
 defaults table.  The properties are only set if the current
 value is either null or a UIResource.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the target component for installing default color/font properties<DD><CODE>defaultBgName</CODE> - the key for the default background<DD><CODE>defaultFgName</CODE> - the key for the default foreground<DD><CODE>defaultFontName</CODE> - the key for the default font<DT><B>See Also: </B><DD><A HREF="../../javax/swing/LookAndFeel.html#installColors(javax.swing.JComponent, java.lang.String, java.lang.String)"><CODE>installColors(javax.swing.JComponent, java.lang.String, java.lang.String)</CODE></A>, 
<A HREF="../../javax/swing/UIManager.html#getColor(java.lang.Object)"><CODE>UIManager.getColor(java.lang.Object)</CODE></A>, 
<A HREF="../../javax/swing/UIManager.html#getFont(java.lang.Object)"><CODE>UIManager.getFont(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="installBorder(javax.swing.JComponent, java.lang.String)"><!-- --></A><H3>
installBorder</H3>
<PRE>
public static void <B>installBorder</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
                                 java.lang.String&nbsp;defaultBorderName)</PRE>
<DL>
<DD>Convenience method for installing a component's default Border 
 object on the specified component if either the border is 
 currently null or already an instance of UIResource.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the target component for installing default border<DD><CODE>defaultBorderName</CODE> - the key specifying the default border</DL>
</DD>
</DL>
<HR>

<A NAME="uninstallBorder(javax.swing.JComponent)"><!-- --></A><H3>
uninstallBorder</H3>
<PRE>
public static void <B>uninstallBorder</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE>
<DL>
<DD>Convenience method for un-installing a component's default 
 border on the specified component if the border is 
 currently an instance of UIResource.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the target component for uninstalling default border</DL>
</DD>
</DL>
<HR>

<A NAME="makeKeyBindings(java.lang.Object[])"><!-- --></A><H3>
makeKeyBindings</H3>
<PRE>
public static <A HREF="../../javax/swing/text/JTextComponent.KeyBinding.html">JTextComponent.KeyBinding</A>[] <B>makeKeyBindings</B>(java.lang.Object[]&nbsp;keyBindingList)</PRE>
<DL>
<DD>Convenience method for building lists of KeyBindings.
 <p>
 Return an array of KeyBindings, one for each KeyStroke,Action pair
 in <b>keyBindingList</b>.  A KeyStroke can either be a string in
 the format specified by the private <code>parseKeyStroke</code> 
 method or a KeyStroke object.
 <p>
 Actions are strings.  Here's an example:
 <pre>
 	JTextComponent.KeyBinding[] multilineBindings = makeKeyBindings( new Object[] {
          "UP", DefaultEditorKit.upAction,
        "DOWN", DefaultEditorKit.downAction,
     "PAGE_UP", DefaultEditorKit.pageUpAction,
   "PAGE_DOWN", DefaultEditorKit.pageDownAction,
       "ENTER", DefaultEditorKit.insertBreakAction,
         "TAB", DefaultEditorKit.insertTabAction
  });
 </pre><DD><DL>
<DT><B>Parameters:</B><DD><CODE>keyBindingList</CODE> - an array of KeyStroke,Action pairs<DT><B>Returns:</B><DD>an array of KeyBindings</DL>
</DD>
</DL>
<HR>

<A NAME="makeIcon(java.lang.Class, java.lang.String)"><!-- --></A><H3>
makeIcon</H3>
<PRE>
public static java.lang.Object <B>makeIcon</B>(java.lang.Class&nbsp;baseClass,
                                        java.lang.String&nbsp;gifFile)</PRE>
<DL>
<DD>Utility method that creates a UIDefaults.LazyValue that creates
 an ImageIcon UIResource for the specified <code>gifFile</code>
 filename.</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public abstract java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Return a short string that identifies this look and feel, e.g.
 "CDE/Motif".  This string should be appropriate for a menu item.
 Distinct look and feels should have different names, e.g. 
 a subclass of MotifLookAndFeel that changes the way a few components
 are rendered should be called "CDE/Motif My Way"; something
 that would be useful to a user trying to select a L&F from a list
 of names.</DL>
<HR>

<A NAME="getID()"><!-- --></A><H3>
getID</H3>
<PRE>
public abstract java.lang.String <B>getID</B>()</PRE>
<DL>
<DD>Return a string that identifies this look and feel.  This string 
 will be used by applications/services that want to recognize
 well known look and feel implementations.  Presently
 the well known names are "Motif", "Windows", "Mac", "Metal".  Note 
 that a LookAndFeel derived from a well known superclass 
 that doesn't make any fundamental changes to the look or feel 
 shouldn't override this method.</DL>
<HR>

<A NAME="getDescription()"><!-- --></A><H3>
getDescription</H3>
<PRE>
public abstract java.lang.String <B>getDescription</B>()</PRE>
<DL>
<DD>Return a one line description of this look and feel implementation, 
 e.g. "The CDE/Motif Look and Feel".   This string is intended for 
 the user, e.g. in the title of a window or in a ToolTip message.</DL>
<HR>

<A NAME="isNativeLookAndFeel()"><!-- --></A><H3>
isNativeLookAndFeel</H3>
<PRE>
public abstract boolean <B>isNativeLookAndFeel</B>()</PRE>
<DL>
<DD>If the underlying platform has a "native" look and feel, and this
 is an implementation of it, return true.  For example a CDE/Motif
 look and implementation would return true when the underlying 
 platform was Solaris.</DL>
<HR>

<A NAME="isSupportedLookAndFeel()"><!-- --></A><H3>
isSupportedLookAndFeel</H3>
<PRE>
public abstract boolean <B>isSupportedLookAndFeel</B>()</PRE>
<DL>
<DD>Return true if the underlying platform supports and or permits
 this look and feel.  This method returns false if the look 
 and feel depends on special resources or legal agreements that
 aren't defined for the current platform.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>UIManager.setLookAndFeel(javax.swing.LookAndFeel)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="initialize()"><!-- --></A><H3>
initialize</H3>
<PRE>
public void <B>initialize</B>()</PRE>
<DL>
<DD>UIManager.setLookAndFeel calls this method before the first
 call (and typically the only call) to getDefaults().  Subclasses
 should do any one-time setup they need here, rather than 
 in a static initializer, because look and feel class objects
 may be loaded just to discover that isSupportedLookAndFeel()
 returns false.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/LookAndFeel.html#uninitialize()"><CODE>uninitialize()</CODE></A>, 
<A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>UIManager.setLookAndFeel(javax.swing.LookAndFeel)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="uninitialize()"><!-- --></A><H3>
uninitialize</H3>
<PRE>
public void <B>uninitialize</B>()</PRE>
<DL>
<DD>UIManager.setLookAndFeel calls this method just before we're
 replaced by a new default look and feel.   Subclasses may 
 choose to free up some resources here.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/LookAndFeel.html#initialize()"><CODE>initialize()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getDefaults()"><!-- --></A><H3>
getDefaults</H3>
<PRE>
public <A HREF="../../javax/swing/UIDefaults.html">UIDefaults</A> <B>getDefaults</B>()</PRE>
<DL>
<DD>This method is called once by UIManager.setLookAndFeel to create
 the look and feel specific defaults table.  Other applications,
 for example an application builder, may also call this method.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/LookAndFeel.html#initialize()"><CODE>initialize()</CODE></A>, 
<A HREF="../../javax/swing/LookAndFeel.html#uninitialize()"><CODE>uninitialize()</CODE></A>, 
<A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>UIManager.setLookAndFeel(javax.swing.LookAndFeel)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string that displays and identifies this
 object's properties.<DD><DL>
<DT><B>Returns:</B><DD>a String representation of this object<DT><B>Overrides:</B><DD>toString in class java.lang.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/LookAndFeel.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/KeyStroke.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/MenuSelectionManager.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="LookAndFeel.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;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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>
