Here you can find the source of getDefaultFont()
public static Font getDefaultFont()
//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 }