add simple UI widget function

show a swing UI widget on top of a window frame
currently support ComboBox and TextField widgets