List of usage examples for com.jgoodies.looks FontSet FontSet
FontSet
From source file:ca.phon.app.theme.PhonWindowsFontPolicy.java
License:Open Source License
@Override public FontSet getFontSet(String lafName, UIDefaults table) { return new FontSet() { @Override/* ww w . ja v a2 s .co m*/ public FontUIResource getWindowTitleFont() { return new FontUIResource(FontPreferences.getWindowTitleFont()); } @Override public FontUIResource getTitleFont() { return new FontUIResource(FontPreferences.getTitleFont()); } @Override public FontUIResource getSmallFont() { return new FontUIResource(FontPreferences.getSmallFont()); } @Override public FontUIResource getMessageFont() { return new FontUIResource(FontPreferences.getMessageDialogFont()); } @Override public FontUIResource getMenuFont() { return new FontUIResource(FontPreferences.getMenuFont()); } @Override public FontUIResource getControlFont() { return new FontUIResource(FontPreferences.getControlFont()); } }; }