make tabbedpane class

add tabbedpane to mainUI with menubar