import javax.swing.JFrame; import javax.swing.JLabel; public class Test { public static void main(String[] args) { JLabel couleur = new JLabel("<html> <li> <font COLOR=ff0000> Rouge </font> </li> </html> "); JFrame frame = new JFrame(); frame.add(couleur); frame.setLocationRelativeTo(null); frame.pack(); frame.setVisible(true); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } }