Update Gui.java

remove a warning