rp.post(new Runnable() {
public void run() {
log.select();
try {
OutputWriter out = log.getOut();
OutputListener listener = new OutputListener() {
public void outputLineAction(OutputEvent ev) {
try {
HtmlBrowser.URLDisplayer.getDefault().showURL(new URL(sURL));
} catch (IOException ex) {
// Ignore
}
}
public void outputLineSelected(OutputEvent ev) {
}
public void outputLineCleared(OutputEvent ev) {
}
};
out.println(sURL, listener, true);
out.flush();
} catch (IOException ex) {
// Ignore
}
}
});