protected JComponent initTable()
    {
        myTable = new JTable(new AbstractTableModel()
            {
                public final String[] COLUMN_NAMES = new String[]{"#", "Description"};
                public Object getValueAt(int r, int c)
                {
                    if(c == 0)
                        return Integer.toString(r + 1);
                    else
                        return myCases.get(r);
                }
                public String getColumnName(int c)                  {return COLUMN_NAMES[c];}
                public int getRowCount()                            {return myCases.size();}
                public int getColumnCount()                         {return COLUMN_NAMES.length;}
                public boolean isCellEditable(int r, int c)         {return false;}
                public void setValueAt(Object value, int r, int c)  {}
            });
        
        /*
         * Only allow selecting one row at the time.
         */
        ListSelectionModel m = myTable.getSelectionModel();
        m.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        /*
         * First column with numbers should not be too wide.
         */
        TableColumn c = myTable.getColumnModel().getColumn(0);
        c.setMaxWidth(25);
        
        JScrollPane p = new JScrollPane(myTable);
        return p;
    }