Extracted more AWT UI specifics to UI generics.