server/ServerWindow.java
/**
		 * Add a new property with a combobox filled by the given data source
		 * @param name name of property
		 * @param dataSource
		 * @return
		 */
Add a new property with a combobox filled by the given data source
@param name name of property
@param dataSource
@return
Add a new property with a combobox filled by the given data source @param name name of property @param dataSource @return
public JComponent addProperty(String name, java.util.function.Supplier dataSource) {
			JLabel label = new JLabel(name);
			JComboBox<String> field = new JComboBox<String>();
			field.setModel(new ComboModel(dataSource));
			if(field.getModel().getSize() > 0) {
				field.setSelectedIndex(0);
			}
			addField(label,field);
			return field;
		}
public JComponent addProperty ( String name , java . util . function . Supplier dataSource ) { JLabel label = new JLabel ( name ) ; JComboBox < String > field = new JComboBox < String > ( ) ; field . setModel ( new ComboModel ( dataSource ) ) ; if ( field . getModel ( ) . getSize ( ) > 0 ) { field . setSelectedIndex ( 0 ) ; } addField ( label , field ) ; return field ; }
Add a new property with a combobox filled by the given data source
 @param name name of property
 @param dataSource
 @return
Add a new property with a combobox filled by the given data source @param name name of property @param dataSource @return