File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Can move shapes individually but not as a group Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can move shapes individually but not as a group" Watch "Can move shapes individually but not as a group" New topic
Author

Can move shapes individually but not as a group

Kieran Murray
Ranch Hand

Joined: May 18, 2008
Posts: 47
Hi Guys,

Hopefully as Mr Churchill said "This is the end of the beginning".

This code is supposed to drag both shapes individually and shapes as a group.

The boolean dragging works fine as a signal to move the shapes individually.

The boolean draggingScreen DOES NOT work for dragging all the object.
This should happen when a shape is not clicked. Everything should then be dragged.

I am not sure that I am using the AffineTransform properly.

Any help would be gratefully appreciated because I have been at this for four days and am going around in circles.



Kind regards,

The apprentice
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
GeeCON Prague 2014
 
subject: Can move shapes individually but not as a group