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