The <col> tags should be inside the ""
String something = "<col=000000>TEXT</col>";
|
Just need quick help here, new to Java so I'm not good with the stuff, but I hope to be.
Say I want the colour of 'Latest updates' to change, instead of it being dull and boring white when I log in
http://puu.sh/4oMQT.png
Where does the code of the colour, e.g ; <col=800000> , go?
Because if I have where is it atm, the compiler says this;
http://puu.sh/4oMWC.png
I would be so grateful for this quick tip, I know its stupid but once I know it, I know it
-Jimpy
Code:public static final String Latest_News = "<col=800000>[Latest Update]: VPS Soon!";
Since we're still on topic, another thing I can't seem to figure out
http://puu.sh/4oNOE.png
How to get different colours, for different ranks.
Say if I wanted when I logged in, to be Yellow, I'll get the hex colours etc but I don't know in what file it is, player.java?
and If I wanted for a moderator to log in, for it to be blue?
No problem. Just remember if you want to change the colors, add the color code before what you want to color. Eg, if you wanted to make Latest Update blue and the rest black, you could do this.
Code:public static final String Latest_News = "<col=255>[Latest Update]:</col> VPS Soon!";
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |