Java Font from System getDefaultFont()

Here you can find the source of getDefaultFont()

Description

get Default Font

License

Open Source License

Declaration

public static Font getDefaultFont() 

Method Source Code

//package com.java2s;

import java.awt.Font;

public class Main {
    private static final Font defaultFont = new Font("Arial", 1, 20);

    public static Font getDefaultFont() {
        return defaultFont;
    }//from w w  w .  ja v  a  2s. c  o  m
}

Related

  1. getAllAvaiableSystemMonoSpacedFonts()
  2. getAllAvailableFonts()
  3. getAllFontNames()
  4. getDefaultBorderInsets(int fontSize)
  5. getDefaultFont()
  6. getDefaultFont()
  7. getDefaultFont()
  8. getDefaultFontRenderContext()
  9. getDefaultFrc()