Java Swing Font installLargerDefaultFonts()

Here you can find the source of installLargerDefaultFonts()

Description

install Larger Default Fonts

License

Open Source License

Declaration

private static void installLargerDefaultFonts() 

Method Source Code

//package com.java2s;
// modify it under the terms of the GNU General Public License

public class Main {
    private static void installLargerDefaultFonts() {
        System.setProperty("swing.plaf.metal.userFont", "Dialog-17");
        System.setProperty("swing.plaf.metal.systemFont", "Dialog-17");
        System.setProperty("swing.plaf.metal.controlFont", "Dialog-Bold-17");
    }/*w w w .ja  v  a 2 s  .c  om*/
}

Related

  1. getHelpTextArea(String help, Color background, Font font)
  2. getMultiLineTextForBBox(JComponent comp, double bboxWth, String txt, Font font)
  3. increaseDefaultFont(float multiplier)
  4. initGlobalFont(Font font)
  5. installColorsAndFont(Component c, Color background, Color foreground, Font font)
  6. listFonts()
  7. makeFontBold(JComponent c)
  8. makeFontsPlain()
  9. makeHtmlPane(CharSequence text, Font font)