return url;
}
private void createSummaryDialog()
{
SwingWorker create_statline_worker;
root_dialog = (Dialog) SwingUtilities.windowForComponent( this );
create_statline_worker = new SwingWorker() {
public Object construct()
{
summary_dialog = summarizable.createSummary( root_dialog,
timebox );
return null; // returned value is not needed
}
public void finished()
{
summary_dialog.pack();
if ( Parameters.AUTO_WINDOWS_LOCATION ) {
Rectangle bounds = root_dialog.getBounds();
summary_dialog.setLocation( bounds.x + bounds.width/2,
bounds.y + bounds.height/2 );
}
summary_dialog.setVisible( true );
summary_dialog.init();
}
};
create_statline_worker.start();
}