A PrintWriter that can be used to write to the console's error stream.
A PrintWriter that can be used to write to the console's output stream.
Gets or sets whether the script console window is visible. The window automatically becomes visible when printed to.
Clears the script console.
Flushes pending writes to the script console. If output is being buffered
due to a previous call to queue()
, buffering ends and any pending
output is sent to the console.
Returns the current text of the console as a string.
Prints an object to the script console.
This is identical to the global print
function.
the object to print
Prints a user interface component to the script console.
an interface control to be inserted into the console stream
Prints a string formatted with basic HTML markup to the console.
For example, the string "something <i>special</i>"
is printed with the
word special displayed in an italic style.
a string of simple HTML markup to be parsed, formatted, and inserted
Prints an image or icon to the script console.
the BufferedImage or Icon to be inserted into the console stream
Prints a formatted string to the script console.
This is identical to the global printf
function.
the format string
Prints an object to the script console, then starts a new line.
This is identical to the global println
function.
the object to print
Buffers output sent to the console until flush()
is called.
The Console object is used to interact with the script output window.