What you're seeing is what your paintComponent(...) override draws. if you want the points to be connected, draw a series of lines connecting each consecutive pair of points instead of a [10,10] oval around each point.