J2SE Version (please include all output from java -version flag):
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
Client: Microsoft Windows XP [Version 5.1.2600]
Bug Description:
RFE: Add Java Doc requiring calls to repaint() after container.add() and container.remove()
Calling container.add() followed by validate() does not always cause the component to be displayed unless a repaint() is called.
The documentation now says that we have to call validate(), but it does not mention anything about repaint().
The Evaluation of bug 6332772 seems to imply that we may also need to call repaint(), however I can't find that anywhere in official documentation.
I would expect to see this in the Java Doc for container.add() and container.remove()