Added a textbox for current selection to jframe