Hi
I want to create a console winddow (panel) to my program. It is just a small panel where some kind of info is displayed like in console when u System.out.println() something. At first i thought that i make a JPanel and fill it with black colour and drawString() the text i want there to be displayed. But my problem is:
If string="one line \n and another line"
when i drawString(string); the text appear on single line. How could i make new line in drawString() function?
Or what other ways should i use in this situation? And ofcourse is there a way to put (real)console inside a panel?