ControlBar(MainWindow creator) { parent = creator; super.setPreferredSize(new Dimension(720, 172)); setLayout(new BorderLayout()); // add timer, save, and heatmap controls to the bar tc = new TimerControls(this); sc = new SaveControls(parent.getGrid(), this); hc = new HeatMapControls(this); add(tc, BorderLayout.WEST); add(hc, BorderLayout.CENTER); add(sc, BorderLayout.EAST); super.repaint(); super.setVisible(true); System.out.println("Done Constucting"); }