Package javax.swing.plaf

Examples of javax.swing.plaf.FontUIResource.deriveFont()


            Object value = UIManager.get(key);
            if (value instanceof FontUIResource)
            {
        FontUIResource fr = (javax.swing.plaf.FontUIResource)value;
        if (!key.toString().equals("InternalFrame.titleFont") && fr.isBold())
          UIManager.put(key, new FontUIResource(fr.deriveFont(java.awt.Font.PLAIN)));
            }
        }
        try
        {
            UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.