apprunner/src/main/java/org/jbundle/util/apprunner/PropertyView.java
public void addItems(JComboBox comboBox, String[] rgstrValue, String strDefault)
	{
		for (int i = 0; i < rgstrValue.length; i++)
		{
			comboBox.addItem(rgstrValue[i]);
			if (rgstrValue[i].equalsIgnoreCase(strDefault))
				strDefault = rgstrValue[i];
		}
		comboBox.setSelectedItem(strDefault);
	}
public void addItems(JComboBox comboBox, String[] rgstrValue, String strDefault)
	{
		for (int i = 0; i < rgstrValue.length; i++)
		{
			comboBox.addItem(rgstrValue[i]);
			if (rgstrValue[i].equalsIgnoreCase(strDefault))
				strDefault = rgstrValue[i];
		}
		comboBox.setSelectedItem(strDefault);
	}
public void addItems ( JComboBox comboBox , String [ ] rgstrValue , String strDefault ) { for ( int i = 0 ; i < rgstrValue . length ; i ++ ) { comboBox . addItem ( rgstrValue [ i ] ) ; if ( rgstrValue [ i ] . equalsIgnoreCase ( strDefault ) ) strDefault = rgstrValue [ i ] ; } comboBox . setSelectedItem ( strDefault ) ; }
/*
Add all the items in this array to the combobox and set the default.
/ * Add all the items in this array to the combobox and set the default .