I need to do the following project in Swing: lots of Square shaped objects, and some of them are connected by lines. Need to move one or more square objects at the same time(lines connected to these objects need to move along with the objects). I also need to have the capability of adding new square object and connect it to another object with line. This project is kind of mimic some simple features of VISIO software in Java. Is it possible? How can I do it?