textField.addActionListener(actionListener);
addProperty(propertyDescriptors[i], textField, gridbag);
count += 1;
} else if ("class java.util.Locale".equals(type)) {
JLocaleChooser localeChooser = new JLocaleChooser(bean);
localeChooser.setPreferredSize(new Dimension(200, localeChooser
.getPreferredSize().height));
addProperty(propertyDescriptors[i], localeChooser, gridbag);
count += 1;
} else if ("class java.util.Date".equals(type)) {
Date date = null;