Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mousedragging not working after updating the array.  RSS feed

 
priya gnana
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Norm Radder
Rancher
Posts: 1733
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They some debugging by adding some println() statements to the various listener methods to see if they are being called.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!