server/ServerWindow.java
/**
		 * Reset the input editors in the adding part of the pane
		 */
Reset the input editors in the adding part of the pane
Reset the input editors in the adding part of the pane
public void reset() {
			for(JComponent component : properties.values()) {
				if(component instanceof JTextField) {
					((JTextField) component).setText("");
				} else if (component instanceof JSpinner) {
					((JSpinner) component).setValue(0);
				} else if (component instanceof JComboBox) {
					((JComboBox) component).setSelectedIndex(0);
				}
			}
		}
public void reset ( ) { for ( JComponent component : properties . values ( ) ) { if ( component instanceof JTextField ) { ( ( JTextField ) component ) . setText ( "" ) ; } else if ( component instanceof JSpinner ) { ( ( JSpinner ) component ) . setValue ( 0 ) ; } else if ( component instanceof JComboBox ) { ( ( JComboBox ) component ) . setSelectedIndex ( 0 ) ; } } }
Reset the input editors in the adding part of the pane
Reset the input editors in the adding part of the pane