Package ca.eandb.util.io

Examples of ca.eandb.util.io.DocumentOutputStream


  }

  public void connectConsole() {
    Document document = getConsolePane().getDocument();

    System.setOut(new PrintStream(new DocumentOutputStream(document, SimpleAttributeSet.EMPTY)));

    MutableAttributeSet attributes = new SimpleAttributeSet();
    StyleConstants.setForeground(attributes, Color.RED);
    System.setErr(new PrintStream(new DocumentOutputStream(document, attributes)));
  }
View Full Code Here

TOP

Related Classes of ca.eandb.util.io.DocumentOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.