Moving java shapes with mouse and buttons
i have been working on a program for some time now. i have created shapes which can be customized in several ways: color, size etc.
i also managed to configure two buttons which move the shapes from left to right.
after writing some code which enabled the mouse to drag the shapes around the canvas the buttons no longer worked properly.
i was wondering if anyone had any help to going around solving this problem?
also one shape which was not a java.awt preset and i had to create using a polygon will not be dragged around at all while the others do.
can anyone help me with this problem also?