Update graphPane.java