repaint()
That's about all it takes...why don't you post your sample code, in which case the situational conditions and reason for updates/refresh will be more apparent and a better answer might be...
Type: Posts; User: copeg
repaint()
That's about all it takes...why don't you post your sample code, in which case the situational conditions and reason for updates/refresh will be more apparent and a better answer might be...
It depends how you wish to 'update'. You can try calling repaint() to repaint some components, or if you've added other components you should call revalidate.