}
if (file.exists()) {
- int ret = JOptionPane.showConfirmDialog(this,
- "File \"" + file.getName() + "\" exists. Overwrite?",
- "File exists", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
+ int ret = JOptionPane.showConfirmDialog(this,
+ //// File
+ trans.get("SimExpPan.Fileexists.desc1") + file.getName() +
+ //// \" exists. Overwrite?
+ trans.get("SimExpPan.Fileexists.desc2"),
+ //// File exists
+ trans.get("SimExpPan.Fileexists.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
if (ret != JOptionPane.YES_OPTION)
return;
}
}
if (n == 1) {
- str = "Exporting 1 variable out of " + total + ".";
+ //// Exporting 1 variable out of
+ str = trans.get("SimExpPan.ExportingVar.desc1") + " " + total + ".";
} else {
- str = "Exporting "+n+" variables out of " + total + ".";
+ //// Exporting
+ //// variables out of
+ str = trans.get("SimExpPan.ExportingVar.desc2") + " "+n+" " +
+ trans.get("SimExpPan.ExportingVar.desc3") + " " + total + ".";
}
selectedCountLabel.setText(str);
case SELECTED:
return "";
case NAME:
- return "Variable";
+ //// Variable
+ return trans.get("SimExpPan.Col.Variable");
case UNIT:
- return "Unit";
+ //// Unit
+ return trans.get("SimExpPan.Col.Unit");
default:
throw new IndexOutOfBoundsException("column=" + column);
}