Update UIMethods.java