Switch gui.java to setter