RE: Re: Re: Re: How to change text colour in the console

2023-02-25 Thread Peter Ream
FYI ANSI_RESET has no effect. System.out.println(ANSI_RED + "This text should be red!" + ANSI_RESET); System.out.println("Hello World!”); Hello World! Is white with / without ANSI_RESET.

Re: Re: Re: How to change text colour in the console

2023-02-25 Thread Peter Ream
Works perfect! Thank you. Peter On Feb 25, 2023 at 9:57:31 AM, Neil C Smith wrote: > On Sat, 25 Feb 2023 at 14:47, Peter Ream wrote: > > I can’t get this to work. Probably user error, although I have used NB for > about 5 years, I’m not too handy into changing a lot of the parameters. >

Re: Re: Re: How to change text colour in the console

2023-02-25 Thread Neil C Smith
On Sat, 25 Feb 2023 at 14:47, Peter Ream wrote: > I can’t get this to work. Probably user error, although I have used NB for > about 5 years, I’m not too handy into changing a lot of the parameters. Here > is my simple test copied from Bob T: No, just make sure you're using NetBeans 17, or

Re: Re: How to change text colour in the console

2023-02-25 Thread Neil C Smith
On Thu, 23 Feb 2023 at 19:46, Peter Ream wrote: > > "Using Maven, it works if passing -DinheritIo=true." > > Out of curiosity, can you set this within NB? Yes, otherwise it would have been impossible to test! But it would help if I'd written the right thing :-) Updated the issue. It's

RE: Re: How to change text colour in the console

2023-02-23 Thread Peter Ream
"Using Maven, it works if passing -DinheritIo=true." Out of curiosity, can you set this within NB? On 2023/02/23 14:17:52 Neil C Smith wrote: On Thu, 23 Feb 2023 at 13:47, Neil C Smith wrote: > > On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > > > Thank you Neil. It works if I run via the

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 13:47, Neil C Smith wrote: > > On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > > > Thank you Neil. It works if I run via the Netbeans terminal as you suggest. > > I've created a feature request for consideration by the team: > >

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > Thank you Neil. It works if I run via the Netbeans terminal as you suggest. > I've created a feature request for consideration by the team: > https://github.com/apache/netbeans/issues/5552 Great! I've added the contribution welcome label for now.

Re: How to change text colour in the console

2023-02-23 Thread Bob T
Thank you Neil. It works if I run via the Netbeans terminal as you suggest. I've created a feature request for consideration by the team: https://github.com/apache/netbeans/issues/5552 Best regards, Bob On Thu, Feb 23, 2023 at 11:19 AM Neil C Smith wrote: > On Thu, 23 Feb 2023 at 11:11, Bob T

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 11:11, Bob T wrote: > I'm trying to change the text colour when printing to the Netbeans console > but I can't get it to work. The colour is changed when running on the command > line though. I have a very simple Gradle app: That's not supported AFAIK. It should work if