ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 모든 폰트 보기
    Java 2019. 5. 10. 17:38
    import java.awt.Font;
    import java.awt.GraphicsEnvironment;
    
    public class AllFontView {
        public static void main(String[] args) {
            GraphicsEnvironment ge = null;
            ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
            Font[] fonts = ge.getAllFonts();
            for (int i = 0; i < fonts.length; i++) {
                System.out.println(fonts[i].getFontName());
            }
        }
    }

     

    'Java' 카테고리의 다른 글

    HTML 유틸  (0) 2019.05.27
    Java8 날짜  (0) 2019.05.14
    세차계산 2  (0) 2019.04.12
    세차 계산1  (0) 2019.04.12
    Javadoc UTF-8  (0) 2018.08.22
Designed by Tistory.