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 |
|
|
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>"TitledBorder.font"</code>. |
* <code>TitledBorder.font</code>. |
198 |
*/ |
*/ |
199 |
public static Font getFont(Object key) |
public static Font getFont(Object key) |
200 |
{ |
{ |
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); |