Setting Font and Colors to different parts of String that is contained in one JLabel
This link provides some previous contexts to this problem.
Basically my program html parses multiple String with same structures
[Ability Name] Range: [Range Number] Cost: [Cost Number] Cooldown: [CD Number].
I save these individual structures into different String variables. And then, I put them into a single JLabel. But I want each of these individual structures with different fonts and colors. Is it possible for me to put in a String Variable inside this html code from the link provided above?
If it is not possible, how could I make this work?