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

urgent pls help  RSS feed

 
indian greenhorn
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Using Graphics2D when I rotate my component I want the event associated with the component also to move along with the coordinates of the component.
In Event class there is one method translate(int x, int y) can anyone tell me how to implement this method in my program. A simple example will be of great use.
regards
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!