colors - Colored output in netbeans console with ansicodes -
I am trying to get a color output in my Netbeans output window.
The ANI-output and the Windows console work perfectly in Linux. Although not in the IDE
Is there any way to do this work in Netbeans's output window?
According to this, this should work, but it is not in my current Netbeans 8.0.1 installation (neither Linux nor Windows).
Any sign on how to do this?
I am using Netbeans 8.0.1 on Windows 7. I tried to escape ANSI, and it works. Example:
string greenBold = "\ 033 [32; 1m"; String reset = "\ 033 [0 m"; System.out.println ("first" + green + "green" + reset + "after");
Comments
Post a Comment