I created TabPanel with two tabs. To each tab I also added BorderLayout with toolbar and AccordionLayout inside (generally panels structure is little more complicated, but its not imported here :) )....