public void setData(Stats[] stats){
            PopNumbersModel model = (PopNumbersModel)this.getModel();
            LinkedList<Stats> statsList = new LinkedList<Stats>();
            if ((stats == null) || (stats.length == 0)) ;
            else {
                Collections.addAll(statsList, stats);
                model.setData(statsList);
                this.setPreferredSize(new Dimension(PopNumbersPanel.WIDTH / 5, this.getRowCount() * this.getRowHeight()));


                this.tableChanged(new TableModelEvent(this.getModel()));
            }
        }