Few weeks ago I submitted a session for the next JavaOne and it reminded me the previous session which we presented with Kirill
Before J1, he published a nice teaser with links to blogs about his famous ghost effects and transition layout, so it's hight time for me drop a few lines about implementing a spotLight effect. You can test the whole application on the main page of the Rainbow project,...
As everybody knows if you need to repaint a Swing component you should call Component.repaint() method,
another well-known tip for the fast painting is:
If only part of your component needs to be updated, make paint requests using a version of repaint that specifies the painting region.
It is very simple piece of advice - not to paint more than you need,
but sometimes this situation is not...