/[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.11 by mkoch, Tue Jun 15 14:51:42 2004 UTC revision 1.12 by mark, Thu Jul 8 19:26:25 2004 UTC
# Line 1  Line 1 
1  /* UIManager.java --  /* UIManager.java --
2     Copyright (C) 2002, 2003 Free Software Foundation, Inc.     Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 194  public class UIManager implements Serial Line 194  public class UIManager implements Serial
194     *     *
195     * @param key an Object that specifies the font. Typically,     * @param key an Object that specifies the font. Typically,
196     *        this is a String such as     *        this is a String such as
197     *        <code>&quot;TitledBorder.font&quot;</code>.     *        <code>TitledBorder.font</code>.
198     */     */
199    public static Font getFont(Object key)    public static Font getFont(Object key)
200    {    {
# Line 253  public class UIManager implements Serial Line 253  public class UIManager implements Serial
253    }    }
254    
255    public static ComponentUI getUI(JComponent target)    public static ComponentUI getUI(JComponent target)
256      // Returns the L&F object that renders the target component.      // Returns the Look and Feel object that renders the target component.
257    {    {
258      ComponentUI ui = getDefaults().getUI(target);      ComponentUI ui = getDefaults().getUI(target);
259      //System.out.println("GET-UI-> " + ui + ", for " + target);      //System.out.println("GET-UI-> " + ui + ", for " + target);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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