Created
April 6, 2016 10:54
-
-
Save PreSoichiSumi/efd2b48a58323096ceb1dc62feefbd3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package util; | |
import java.awt.*; | |
public class Main { | |
public static void main(String[] args){ | |
Font f=new Font("monospaced",Font.PLAIN,9); | |
System.out.println(f.getName()); | |
System.out.println(f.getFontName()); | |
f=new Font("Monospaced",Font.PLAIN,9); | |
System.out.println(); | |
System.out.println(f.getName()); | |
System.out.println(f.getFontName()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment