Component selectedTab = tabs.getSelectedComponent();
if (selectedTab instanceof BasicTab) {
@SuppressWarnings({ "unchecked", "rawtypes" })
Component selectedTab = tabs.getSelectedComponent();
if (selectedTab instanceof BasicTab) {
@SuppressWarnings({ "unchecked", "rawtypes" })