import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.plaf.*; /** * @version 1.1 06/02/99 */ public class TabColorExample extends JPanel { public TabColorExample() { setLayout(new BorderLayout()); UIManager.put("TabbedPane.selected", Color.green); JTabbedPane tabbedPane = new JTabbedPane(); String tabs[] = {"One", "Two", "Three", "Four"}; Color[] colors = {null, Color.red, null, null}; for (int i=0;i