Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Labels (2)
1 Solution

Accepted Solutions
David_Beaty
Specialist
Specialist

Hi,

 

If it's of use, you can always use System.err.println()

 

That will come out in red.

 

View solution in original post

3 Replies
manodwhb
Champion II
Champion II

@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

David_Beaty
Specialist
Specialist

Hi,

 

If it's of use, you can always use System.err.println()

 

That will come out in red.

 

Anonymous
Not applicable
Author


@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?