this.setTitle(_trayIcon.toolTipPrefix + "Console");
this.addWindowListener(new WindowEventHandler());
this.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
_okIcon = _trayIcon.createImageIcon("/resources/tick.png");
_clearOutputItem.setAction(new AbstractAction(null, WrapperTrayIconImpl.createImageIcon("/resources/edit-clear.png"))
{
public void actionPerformed(ActionEvent e)
{
clearOutput();
}
});
_pauseOutputItem.setAction(new AbstractAction(null, WrapperTrayIconImpl.createImageIcon("/resources/pause.png"))
{
public void actionPerformed(ActionEvent e)
{
_outputPaused = true;
_consoleForm._START_OUTPUT_BUTTON.setEnabled(true);
_consoleForm._PAUSE_OUTPUT_BUTTON.setEnabled(false);
}
});
_startOutputItem.setAction(new AbstractAction(null, WrapperTrayIconImpl.createImageIcon("/resources/start.png"))
{
public void actionPerformed(ActionEvent e)
{
_outputPaused = false;
_consoleForm._START_OUTPUT_BUTTON.setEnabled(false);