There is a task: using the System.out.println and System.err.println commands to display text in a red frame. Like this:
******* *текст* ******* But when outputting to IDEA all the time, the text flies to the frame, then after, then differently, but not on the instructions. Eclipse has seen what works. I understand that there is a problem in the streams, but it does not work out.
System.err.print("*******\n"); System.err.print("|"); System.out.print("text"); System.err.print("|"); System.err.print("*******\n");