labels[2].setHorizontalAlignment(JLabel.RIGHT);
}
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus)
{
<BUG>LocaleItem lm = (LocaleItem)value;
labels[0].setText(lm.locale.getDisplayLanguage());</BUG>
labels[1].setText(lm.locale.getDisplayLanguage(lm.locale));
labels[2].setText(Resources.getString(
"plugin.generalconfig.DEFAULT_LANGUAGE_TRANSLATED",

labels[2].setHorizontalAlignment(JLabel.RIGHT);
}
public Component getListCellRendererComponent(JList list, Object value,
int index, boolean isSelected, boolean cellHasFocus)
{
LocaleItem lm = (LocaleItem)value;
if (value != null)
{
labels[0].setText(lm.locale.getDisplayLanguage());
labels[1].setText(lm.locale.getDisplayLanguage(lm.locale));
labels[2].setText(Resources.getString(
"plugin.generalconfig.DEFAULT_LANGUAGE_TRANSLATED",
