663
664
JOptionPane.showMessageDialog(this,"It is allowed to have at most " + Pipe.MAX_NUMBER_OF_TOKENS_ALLOWED + " tokens in a place.", "Error", JOptionPane.ERROR_MESSAGE);
669
672
TimedPlace underlyingPlace = place.underlyingPlace();
671
674
SharedPlace selectedPlace = (SharedPlace)sharedPlacesComboBox.getSelectedItem();