Name: krT82822 Date: 01/12/99
original synopsis: "JTabbedPane tab repaint problem"
There is a repaint problem with JTabbedPane that is most easily reproducable by setting a JTabbedPane as the content pane of a frame. To see the
problem, run the following code:
JFrame f = new JFrame();
JTabbedPane tp = new JTabbedPane();
tp.add("Test", new JPanel());
f.setContentPane(tp);
f.setSize(200, 200);
f.show();
When the frame shows, partially cover the tab area with another window and then bring the example frame back to the front. You should see the
tab painted twice.
(Review ID: 36753)
======================================================================