title: JCombobox and Switch statements
body: <p>I am using Netbeans 6.9.1
  I am trying to make a java desktop application in the form of a hotel registry. In this program I have a series of <code>JComboBox</code>'s that let the user enter how many people are staying, the day they are booking etc. I want to make it so when a button is pressed a switch will occur that will check if the boxes are selecte at None, or an actual Item.</p>
  
  <p>My question is. How can I make it so if 1 or more comboboxes have not been entered it displays a message saying what wasn't filled in</p>
  
  <p>This is what I tried but it didnt work.</p>
  
  <pre><code>case 1:
      Hotel.getSelectedItem().toString().equals("None");                 
      Out.setText("Missing Hotel Selection");
  </code></pre>
  
  <p>My question is, how could I make this work?</p>
  
  <p>I am new to Java so please explain in terms I would understand.</p>