server/ServerWindow.java
/**
		 * Link a button to whether there is a selection selected
		 * @param button button to link
		 */
Link a button to whether there is a selection selected
@param button button to link
Link a button to whether there is a selection selected @param button button to link
public void linkEnabled(JButton button) {
			table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
				@Override
				public void valueChanged(ListSelectionEvent e) {
					button.setEnabled(table.getSelectedRow() >= 0);
				}
			});
		}
public void linkEnabled ( JButton button ) { table . getSelectionModel ( ) . addListSelectionListener ( new ListSelectionListener ( ) { @ Override public void valueChanged ( ListSelectionEvent e ) { button . setEnabled ( table . getSelectedRow ( ) >= 0 ) ; } } ) ; }
Link a button to whether there is a selection selected
 @param button button to link
Link a button to whether there is a selection selected @param button button to link