I have a container with GridLayout. I add and remove components from it, but some small problems with painting occur. If I then resize the whole frame, the problem vanishes. I wonder how the resizement of the frame solves the problem, what method is called?
I even had bigger problems, the components I added didn't even show, until I called (after the addition) the .doLayout method on the container.
.repaint is quite useless! Any suggestions?