I always do
Jbutton.setEnabled(false);
Jbutton.update(Jbutton.getGraphics());
when disabling a button, but someone told me that Jbutton.update(Jbutton.getGraphics());
shouldn't be used, or at least not used that way. Why? is it not efficient? Is it incorrect? Should I change my method?