Line2D, getting NullPointerException

Printable View