UnifiedToolBar.installUnifiedToolBarBorder(fPreferencesTabBar.getComponent());
fixUnifiedToolBarOnMacIfNeccessary(fPreferencesTabBar);
}
public void addTab(String title, Icon icon, ActionListener listener) {
AbstractButton button = MacButtonFactory.makePreferencesTabBarButton(
new JToggleButton(title, icon));
fButtonGroup.add(button);
button.addActionListener(listener);
fPreferencesTabBar.addComponentToLeft(button);
}