title: JTable does not show up
body: <p>I'm a Java beginner and I'm using Eclipse to create an simple app with a <code>SpringLayout</code> and a button inside. I call that button 'btnTABLE' and here is its <code>actionPerformed</code> code: </p>
  
  <pre><code>btnTABLE.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
  
          String[] columnNames = {"First Name",
                  "Last Name",
                  "Sport",
                  "# of Years",
                  "Vegetarian"};
  
          Object[][] data = {
                  {"Kathy", "Smith",
                   "Snowboarding", new Integer(5), new Boolean(false)},
                  {"John", "Doe",
                   "Rowing", new Integer(3), new Boolean(true)},
                  {"Sue", "Black",
                   "Knitting", new Integer(2), new Boolean(false)},
                  {"Jane", "White",
                   "Speed reading", new Integer(20), new Boolean(true)},
                  {"Joe", "Brown",
                   "Pool", new Integer(10), new Boolean(false)}
              };
  
          JTable table = new JTable(data, columnNames);
          JScrollPane scrollPane = new JScrollPane(table);
          table.setFillsViewportHeight(true);
      }
  });
  </code></pre>
  
  <p>But when i click that button, the table doesn't show up.</p>