g.setColor(Color.red); |
g.setColor(java.awt.Color.red); |
Point2D.Double center = w.fireLocation; |
//Point2D?.Double center = w.fireLocation; |
Found and corrected 2 error in the method onPaint: Point2D.Double center = w.fireLocation; is called 2 times, and it's missing import java.awt.Color |