142143144145146147148149150
double r = data[i][3]; ball.addBall(x, y, r, la.getId()); // no Z, but Layer id! } // After a repaint, Ball balls will be made local to the bounding box of all of them ball.repaint(true); return ball; } }