how to output user message into the console? Permanently deleted user 创建于 2013年08月20日 05:45 how can i get the InputStream and OutputStream of the Console?i want to output message into console and read the user input from the console.who can help me?best regards kissley
does not anyone know?
There are 3 basic methodologies
Here are some links to a few tutorials that will show you how to do this. The frist two are from the "official" Java Tutorial.
Eventually you will want to look at using a logging framework such as Simple Logging Facade for Java (SLF4J) over Logback rather than the console.
maybe I did not make it clear,i means than how to output the user message into the console of intellij,it is intellij's console,not system console