분류 전체보기
-
[AWT / Swing] - Component Font 설정Java/Java SE 2015. 10. 24. 23:39
Label에 대한 Font를 나눔고딕(NanumGothic)으로 설정. UIManager.put("Label.font", new Font("NanumGothic", Font.PLAIN, 12)); 다른 Component의 Font를 설정하고 싶을때에는 해당 Key 값을 변경하면 되겠다. Swing Component의 Font Key 값은 아래와 같다. Swing Platform FontUIResources. Key : OptionPane.buttonFont Key : List.font Key : TableHeader.font Key : Panel.font Key : TextArea.font Key : ToggleButton.font Key : ComboBox.font Key : ScrollPane.fon..