@Override
    public void setGraph(){
        potentialPane = graphP.initiateGraph("Potential Energy", 
                "Potential Energy", "Time (s)", "Energy (J)", 1, 1, 1);
        graphP.setBounds(50,50,0,0);
        kinecticPane = graphK.initiateGraph("Kinetic Energy", 
                "Kinectic Energy", "Time (s)", "Energy (J)", 1, 1, 1);
        graphK.setBounds(50,50,0,0);
    }