• Post Reply Bookmark Topic Watch Topic
  • New Topic

JLabel color

 
Juhan Voolaid
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

OK this is stupid but how to set color(of text) on JLabel. This must be very simple but i didn't find anything.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe it is setForeground(Color);

Did you by any chance look at the API?
[ August 19, 2004: Message edited by: Gregg Bolinger ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!