How do I use html tags in a JLabel in java?
This will do the trick:
String labelText ="Red and Blue Text"; JLabel coloredLabel =new JLabel(labelText);