1 16 17 package swingwtx.swing.plaf; 18 19 import swingwt.awt.Font; 20 import swingwtx.swing.plaf.UIResource; 21 22 public class FontUIResource extends Font implements UIResource { 23 public FontUIResource(String name, int style, int size) { 24 super(name, style, size); 25 } 26 public FontUIResource(Font font) { 27 super(font.getName(), font.getStyle(), font.getSize()); 28 } 29 } | Popular Tags |