This week's book giveaway is in the Raspberry Pi forum.
We're giving away four copies of Getting started with Java on the Raspberry Pi and have Frank DelPorte on-line!
See this thread for details.
Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Mousedragging not working after updating the array.

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 5007
38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Not so fast naughty spawn! I want you to know about
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic