3132333435363738
public MainTabView() { setTabPlacement(TOP); setTabLayoutPolicy(SCROLL_TAB_LAYOUT); setBorder(BorderFactory.createEmptyBorder(5, 3, 3, 3)); addTab("Dashboard", new ImageIcon(), new DashboardView(), "Your Dashboard - notifications, etc."); }