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());