carol sa wrote:Nacho Espinosa ,
while hunting for solution for my problem updating my Jpanel, I found you suggestion.... . . .
I hope you aren't using that suggestion while repainting. It is very inefficient to remove and re-create all your components.
For repainting, super.paintComponent(g);
If you need to repopulate your panel, then the remove methods are useful. But why would you wish to change the displayed components?