Update UIFactory.java