calculateButton.setEnabled( !table.getSelectionModel().isSelectionEmpty() && collectionCombo.getSelectedIndex() >= 0);
if (!calculating) calculateButton.setEnabled( !table.getSelectionModel().isSelectionEmpty() && collectionCombo.getSelectedIndex() >= 0);
								public void run() {									calculateButton.setText("Calculate");									calculateButton.setEnabled(										!table.getSelectionModel().isSelectionEmpty() &&										collectionCombo.getSelectedIndex() >= 0);									collectionCombo.setEnabled(true);								}