Vector styleVector = fontExtStyles.getStyles(getExtStyleCombo().getText()); Enumeration styleEnum = styleVector.elements();
void initStyleCombo(FontExtStyles fontExtStyles) {	Vector styleVector = fontExtStyles.getStyles(getExtStyleCombo().getText());	Enumeration styleEnum = styleVector.elements();	Combo styleCombo = getStyleCombo();	int selectionIndex = styleVector.indexOf(FontExtStyles.MEDIUM);	String style;	styleCombo.removeAll();	while (styleEnum.hasMoreElements() == true) {		style = (String) styleEnum.nextElement();		styleCombo.add(style);	}			if (selectionIndex == -1) {		selectionIndex = 0;	}	styleCombo.select(selectionIndex);}