CommandLine.verifyTitleID(titleIdInput.getText());
setPropertiesFromFields(mSettings);
File inputFile = new File(isoInput.getText());
File dataDir = new File(dataInput.getText());
File outputDir = new File(convertOutputInput.getText());
PSXperiaTool tool = new PSXperiaTool(mSettings, inputFile, dataDir, outputDir);
ProgressMonitor.ProgressCallback callback = new ProgressMonitor.ProgressCallback() {
public void nextStep(String string) {
convertStatus.setText(string);
}
public void stepsTook(int current, int max) {
convertProgress.setMaximum(max);
convertProgress.setValue(current);
}
};
tool.setCallback(callback);
tool.startBuild();
convertProgress.setValue(0);
convertButton.setEnabled(true);
mThis.setEnabled(true);
} catch (InputMismatchException ex) {
Logger.error("Input error: %s", ex.getMessage());