Update PathPanel.java