Can a JLabel be colored in two colors?
843805Feb 28 2007 — edited Mar 2 2007Hello,
I want to color the font of a jlabel in two colors. For example: The text is "hello bye". The hello needs to be red and the bye needs to be black.
Is there a possibility to do that without using HTML (I tried an html text inside the jlabel, and it does work, but it changes the layout in the jlabel).
Thanks in advance.