Update UI.java

Comment to add anonymous objects/implementations