[JAVA] Console Application - Multiple Colors in One Line
Hey, I was just wondering how to use multiple colors in one line in Java. I know it's possible, but I've had no luck finding it on Google.
To be more specific, I want it to look something like this...
(I couldn't think of a better example, so I just used a screenshot from one of my favorite MUDs. )
Re: [JAVA] Console Application - Multiple Colors in One Line
Pretty sure there is no native support in Java. For this requirement one gerenally uses ncurses via JNI.
Look here http://sourceforge.net/projects/javacurses/
and here http://roguebasin.roguelikedevelopme...Implementation
However, you could do it all in Swing and fake a terminal with a JFrame etc.
Go you good thing!
Tags for this Thread