The scale() method
If we override the paintComponet method of a JComponent, let's say a JButton, and we call the scale(double, double) method on the Graphics object where both of the parameters are lower than 1, the button will appear smaller on the GUI accordingly to the paramaters values. However, the area on the parent container that is allocated to the button to render itself in will remain the same, which makes the button take and react to input outside of it's box.
Does any one know how to fix this. thx