*/
protected Task(ControlPanelInfo info, ProgressDialog progressDialog)
{
this.info = info;
this.progressDialog = progressDialog;
outPrintStream.addListener(new PrintStreamListener()
{
/**
* Add a new line to the logs.
* @param msg the new line.
*/
public void newLine(String msg)
{
outputLogs.append(msg+"\n");
logs.append(msg+"\n");
}
});
errorPrintStream.addListener(new PrintStreamListener()
{
/**
* Add a new line to the error logs.
* @param msg the new line.
*/