|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectappBase.FontManager
public class FontManager
The FontManager class provides tha capability of setting the font size for all of the components in a swing application or applet.
Constructor Summary | |
---|---|
FontManager()
|
Method Summary | |
---|---|
static void |
setFontSize(float sz)
FontManager.setFontSize(sz) sets the font size for all swing display components to sz. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontManager()
Method Detail |
---|
public static void setFontSize(float sz)
BUG: If there are multiple applets in a single web page that use this library then there is no way to control their font sizes individually. They will all share this class so setting the font size for one sets the font size for all. However, SwingUtilities.updateComponentTreeUI() can be invoked on on individual applet content panes and menu bars. The effects of doing this have not been explored.
sz
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |