charsetCombo = new JComboBox(charsetModel);
CharsetWrapper thisone = new CharsetWrapper(yoshikoder.getDefaultEncoding());
charsetCombo.setSelectedItem(thisone);
localeCombo = new JComboBox(FileUtil.getLocaleList().toArray(new LocaleWrapper[]{}));
localeCombo.setSelectedItem(new LocaleWrapper(yoshikoder.getDefaultLocale()));
wsModel =
new SpinnerNumberModel(yoshikoder.getWindowSize(), 0, 100, 1);
JSpinner sp = new JSpinner(wsModel);
addWidgetInlineFixedWidth(Messages.getString("PreferencesPanel.windowSizeLabel"), sp);