well as usual I did not find the right section to put this, but oh well

I would like to see the java console output in my game.I tried System.console() (java.io.console) but im not quite sure if its even designed to do this.there is console.readline() but its always null

motives:obviously you cannot try and catch everything, therefore, bugs cause errors and these exceptions are shown in the java consolenow since my game is in fullscreen, or rather especially because of this reason not only, i would like to draw the console on the screen while the game is runningseems pretty usual in c++ game development.especially useful if a exception happens but it doesnt crashes the game, you can see exactly when it happens.

any ideas / experiences ?

EDIT: of course I have my own gameConsole, but like I said you cannot try and catch everything, and I want to copy exception or even redirect to my gameConsole, so that I can see them in my game

Ideally you would avoid using System.out entirely; use the stuff in the java.util.logger package instead. (then you can create a logger implementation to redirect it to whatever user interface your game has)

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org