0

How to add colour to text in java

font & colour

1st Feb 2018, 10:38 AM
Laxmi
4 Answers
+ 3
Let's say you want to change a Label's font: label.setFont(new Font("Serif", Font.PLAIN, 14)); You can also do this with other components that supports Fonts
1st Feb 2018, 11:08 AM
Limitless
Limitless - avatar
+ 1
In Console or on a Form?
1st Feb 2018, 10:58 AM
Limitless
Limitless - avatar
0
form
1st Feb 2018, 10:59 AM
Laxmi
0
tq
1st Feb 2018, 11:10 AM
Laxmi