I have a simple object which extends JPanel, when the update() method is called on this object it it meant to add some labels to the panel and then rep
JPanel
update()
You could try calling updateUI() method.
updateUI()