Java Font from System getSystemFontNames()

Here you can find the source of getSystemFontNames()

Description

get System Font Names

License

Open Source License

Declaration

public static String[] getSystemFontNames() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.*;

public class Main {
    public static String[] getSystemFontNames() {
        return GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
    }/*from w  ww  . j a  v  a 2s  .c  om*/
}

Related

  1. getDefaultFontRenderContext()
  2. getDefaultFrc()
  3. getDefaultMapXMLCreatorFontName()
  4. getDefaultMonoFontSize()
  5. getDefaultSansSerifFont()
  6. getSystemFonts()
  7. getSystemTextHints()