getMorphingOKButton().setEnabled(getTypeComboBox2().getItemCount()>0);
public void showMorphingDialog(String name, String oldType, Object[] targets) {	morphingDialog_WindowOpened(null);		getTypeComboBox2().removeAllItems();	for (int i = 0; i < targets.length; i++)		getTypeComboBox2().addItem(targets[i]);		getNameTextLabel().setText(name);	getTypeComboBox2().setSelectedItem(oldType);	getMorphingDialog().setLocationRelativeTo(this);	getMorphingDialog().setVisible(true);}