Class ConsoleOutput.CustomOutputStream

java.lang.Object
java.io.OutputStream
nl.tudelft.simulation.dsol.swing.gui.ConsoleOutput.CustomOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Enclosing class:
ConsoleOutput

public static class ConsoleOutput.CustomOutputStream extends OutputStream
The custom output stream that writes to the text pane.
  • Constructor Details

    • CustomOutputStream

      public CustomOutputStream(JTextArea textArea, PrintStream standardOut)
      Create the custom writer.
      Parameters:
      textArea - JTextArea; the text area to write to
      standardOut - PrintSTream; the original stdout
  • Method Details