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 Mousedragging not working after updating the array. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Mousedragging not working after updating the array." Watch "Mousedragging not working after updating the array." New topic
Author

Mousedragging not working after updating the array.

priya gnana
Greenhorn

Joined: Jun 08, 2008
Posts: 14
i have drawn two rectangles.And implemented dragging event for that rectangles.When,double clicked on the rectangle,the size and position
of the rectangle should changes.And its working fine,until this.but again when i tried to implement the mouse dragged event,i'm unable to
dragg it,even after updating the position and size to the array....

[ August 28, 2008: Message edited by: priya gnana ]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

Originally posted by priya gnana:
i have drawn two rectangles.And implemented dragging event for that rectangles.When,double clicked on the rectangle,the size and position
of the rectangle should changes.And its working fine,until this.but again when i tried to implement the mouse dragged event,i'm unable to
dragg it,even after updating the position and size to the array....


You planning to post your code or this is it?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 690
    
    1
They some debugging by adding some println() statements to the various listener methods to see if they are being called.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mousedragging not working after updating the array.