Here you can find the source of getDefaultFont()
public static Font getDefaultFont()
//package com.java2s; import java.awt.Font; public class Main { /**/*from w w w . j a v a2s . c om*/ * Get the Default Font for the Module * @return */ public static Font getDefaultFont() { return new Font("SansSerif", Font.PLAIN, 10); } }