Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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
Ranch Foreman
Posts: 2212
28
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!