Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to change font size in JLabel

label = new JLabel("A label");
label.setFont(new Font("Serif", Font.PLAIN, 14));
 
PREVIOUS NEXT
Tagged: #change #font #size #JLabel
ADD COMMENT
Topic
Name
7+1 =