public void paint(Graphics g){ Points p = new Points(); Points point2; uuid=UUID.randomUUID(); p.setX(0); p.setY(new Random().nextInt(250)); str = "insert into Point (Point_Id,Point_X,Point_Y) values('"+uuid+"',"+p.getX()+","+p.getY()+")"; try { link.stt = link.con.c