StyleConstants.setForeground(atts[3], Color.blue);
StyleConstants.setForeground(atts[3], new Color(64, 64, 192));
  public ConsoleNodeListener(CSMARTConsole console,			     NodeComponent nodeComponent,			     String logFileName, 			     NodeStatusButton statusButton,                             ConsoleStyledDocument doc) throws IOException {    this.console = console;    this.nodeComponent = nodeComponent;    nodeName = nodeComponent.toString();    // status button for node on console display    this.statusButton = statusButton;			           // wrap and capture to a log    this.logFileName = logFileName;    this.logFile = new BufferedWriter(new FileWriter(logFileName));    // save the document that contains node output    this.doc = doc;    // create our attributes    // stdout is black, stderr is red, heartbeat messages are green,    // others (what?) are blue    atts = new SimpleAttributeSet[4];    atts[0] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[0], Color.black);    atts[1] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[1], Color.red);    atts[2] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[2], Color.green);    atts[3] = new SimpleAttributeSet();    StyleConstants.setForeground(atts[3], Color.blue);  }