
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
System.out.println Text colour
Hi all,
Is it possible to change the colour of the text in a System.out.println (executed via a tJava component) or whether there is other code I can put before it to set the colour of the text for that component
Thanks in advance.
Cheers
Steve
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If it's of use, you can always use System.err.println()
That will come out in red.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@abouzigon . you may need to write some custom java code,check the below link.
https://stackoverflow.com/questions/1448858/how-to-color-system-out-println-output/24415186

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If it's of use, you can always use System.err.println()
That will come out in red.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dsoulalioux wrote:
Hi,
If it's of use, you can always use System.err.println()
That will come out in red.
Thanks @dsoulalioux I'll try that.
How about green? Does that have a standard too?
