This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can move shapes individually but not as a group
 
Similar Threads
Is there anyway of overriding the default signal for PopupMenus
Problems moving shapes when set up own Shapes class extending Path2D.Double
Autoscrolling for marquee selection
Moving clickedShapes and only clickedShapes on a panel
A question that is not final but is my final question about AffineTransforms - hopefu