public HistoryReportForm(String Symbol) {

        c.setTime(fromDate);
        c.add(Calendar.MONTH, -2);
        final Date toDate = c.getTime();

        java.util.List<String> lst = new ArrayList<>();


        this.setTitle("30-Day History Report for "+ssd.getCompanyName(Symbol)+" ("+Symbol+")");

        model = new DefaultTableModel(data, columnNames);
        table = new JTable(model);


        historyList = ssd.stockHistory(Symbol, toDate, fromDate);
        for (int i = 0; i < 30; i++) {
            for (int j = 0; j < 7; j++) {
                model.setValueAt(historyList.get(i).split(",")[j], i, j);
            }
        }


        JPanel southPanel = new JPanel();

        southPanel.add(table);
        add(southPanel, BorderLayout.SOUTH);

        this.setDefaultCloseOperation(HIDE_ON_CLOSE);
        this.pack();
        this.setLocationRelativeTo(null);
        this.setVisible(true);

    }