fixed the drawing area's size problem by accounting for the Jframe's insets.