shellEncodingautoDetectCheckbox.setSelected(autoDetect);
shellEncodingautoDetectCheckbox.addItemListener(this);
panel.add(shellEncodingautoDetectCheckbox);
shellEncodingSelectBox = new PrefEncodingSelectBox(new DialogOwner(parent), MuConfigurations.getPreferences().getVariable(MuPreference.SHELL_ENCODING)) {
public boolean hasChanged() {
return !MuConfigurations.getPreferences().getVariable(MuPreference.SHELL_ENCODING).equals(getSelectedEncoding());
}
};
shellEncodingSelectBox.setEnabled(!autoDetect);