Update EndPanel.java

clean warnings