title: Java Swing components
body: <p>How can I create a 7 JCheckBox components from this array and add it to a JPanel    </p>
  
  <pre><code>String toppings[]={"Mushrooms","Onions","Cheese","Green Peppers","Pepperoni","Black Olives","Sausage"};
  </code></pre>