Name: ibR10256			Date: 04/09/2004
STEPS TO REPRODUCE:
Compile and run the following sample:
-- SynthStyleTest.java --------
import javax.swing.*;
import javax.swing.plaf.synth.SynthLookAndFeel;
import java.awt.*;
import java.io.*;
import java.text.ParseException;
public class SynthStyleTest {
    public static void main(String[] args) {
        SynthLookAndFeel slf = new SynthLookAndFeel();
        try {
            slf.load(new FileInputStream("style.xml"), SynthStyleTest.class);
            UIManager.setLookAndFeel(slf);
        } catch (Exception e) {
            e.printStackTrace();
            return;
        }
        JFrame frame = new JFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container pane = frame.getContentPane();
        pane.setLayout(new FlowLayout());
        
        JTabbedPane tp = new JTabbedPane();
        tp.add("Tab1", new JLabel("The first tab is selected"));
        tp.add("Tab2", new JLabel("The second tab is selected"));
        tp.add("Tab3", new JLabel("The third tab is selected" ));
        frame.add(tp);
        frame.pack();
        frame.setVisible(true);
    }
}
-------------------------------
-- style.xml ------------------
<synth>
    <style id="tabbedpanetab">
        <state value="ENABLED">
           <font name="Courier" style="BOLD" size="12"/>
           <color value="RED" type="TEXT_FOREGROUND"/>
        </state>
    </style>
    <bind style="tabbedpanetab" type="region" key="tabbedpanetab"/>
</synth>
-------------------------------
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All visible tab titles should be painted in red with the bold Courier
font specified in style.xml, as all the visible tabs are ENABLED.
ACTUAL -
All tab titles are painted in red but only the selected tab title is
painted with the bold font specified for the ENABLED state.
REPRODUCIBILITY :
This bug can be reproduced always.
---------------------------------------------
======================================================================