private JPanel createStatPane(JStatView sView1, JStatView sView2,
            JStatView sView3, JStatView sView4) {
        JPanel statsPane = new JPanel(new GridLayout(3, 1));
        if (sView1 != null) {
            statsPane.add(sView1);
        }
        if (sView2 != null) {
            statsPane.add(sView2);
        }
        if (sView3 != null) {
            statsPane.add(sView3);
        }
        if (sView4 != null) {
            statsPane.add(sView4);
        }
        return statsPane;
    }