some UI n java changes