java.awt.Canvas override