Java Font from System getDefaultFont()

Here you can find the source of getDefaultFont()

Description

Get the Default Font for the Module

License

Open Source License

Declaration

public static Font getDefaultFont() 

Method Source Code


//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);
    }
}

Related

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