paintDefault(Graphics2D g) This method is called by the paint method to do the actual painting.
The painting is supposed to start at point (0,0) and the size is
always the same as the preferred size.
This method is called by the paint method to do the actual painting.
The painting is supposed to start at point (0,0) and the size is
always the same as the preferred size. The paint method performs
the possible scaling.
Parameters: g - the Graphics2D object to paint in