Class JSInternalConsole

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

class JSInternalConsole extends JInternalFrame implements ActionListener
Internal frame for the console.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serializable magic number.
      See Also:
    • consoleTextArea

      ConsoleTextArea consoleTextArea
      The console text area.
  • Constructor Details

    • JSInternalConsole

      public JSInternalConsole(String name)
      Creates a new JSInternalConsole.
  • Method Details

    • getIn

      public InputStream getIn()
      Returns the input stream of the console text area.
    • getOut

      public PrintStream getOut()
      Returns the output stream of the console text area.
    • getErr

      public PrintStream getErr()
      Returns the error stream of the console text area.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Performs an action on the text area.
      Specified by:
      actionPerformed in interface ActionListener