bufferList.setEnabled(selected.getModel().isSelected()); if(directory.getModel().isSelected())
bufferList.setEnabled(selected.isSelected()); if(directory.isSelected())
	private void updateEnabled()	{		bufferList.setEnabled(selected.getModel().isSelected());		if(directory.getModel().isSelected())		{			directoryPath.setEnabled(true);			directoryChoose.setEnabled(true);			directoryGlob.setEnabled(true);			directoryRecurse.setEnabled(true);		}		else		{			directoryPath.setEnabled(false);			directoryChoose.setEnabled(false);			directoryGlob.setEnabled(false);			directoryRecurse.setEnabled(false);		}	}