/[classpath]/classpath/javax/swing/UIManager.java
ViewVC logotype

Diff of /classpath/javax/swing/UIManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Sun Jun 8 11:20:07 2003 UTC revision 1.6 by brawer, Thu Jun 12 15:02:20 2003 UTC
# Line 174  public class UIManager implements Serial Line 174  public class UIManager implements Serial
174          System.out.println("UIManager.getDim");          System.out.println("UIManager.getDim");
175          return new Dimension(200,100);          return new Dimension(200,100);
176      }      }
177      static  Font getFont(Object key)  
178      //      Returns a drawing font from the defaults table.  
179      {    /**
180          return (Font) getLookAndFeel().getDefaults().get(key);     * Retrieves a font from the defaults table of the current
181      }     * LookAndFeel.
182       *
183       * @param key an Object that specifies the font. Typically,
184       *        this is a String such as
185       *        <code>&quot;TitledBorder.font&quot;</code>.
186       */
187      public static Font getFont(Object key)
188      {
189        return (Font) getLookAndFeel().getDefaults().get(key);
190      }
191    
192      static  Icon getIcon(Object key)      static  Icon getIcon(Object key)
193      //      Returns an Icon from the defaults table.      //      Returns an Icon from the defaults table.
194      {      {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26