Update FigurePanel.java