final VersionInfo version) {
if (settings.debugConsole) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
LaunchErrorDialog dialog = new LaunchErrorDialog(
ChunkyDeployer.commandString(
ChunkyDeployer.buildCommandLine(version, settings)));
dialog.setVisible(true);
}
});
} else {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
LaunchErrorDialog dialog = new LaunchErrorDialog(
ChunkyDeployer.commandString(
ChunkyDeployer.buildCommandLine(version, settings)));
dialog.setVisible(true);
}
});
}
}