private void RemoveBtnActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_RemoveBtnActionPerformed // TODO add your handling code here: if (!(q.isEmpty())) { // checking if list is empty String tmp = (String) q.dequeue(); DisplayTA.setText(q.display()); } else { // telling the attentands there are no vehicles DisplayTA.setText("There are no No vehicles to be washed!"); // shows if there is no vehicles } } // GEN-LAST:event_RemoveBtnActionPerformed