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

Moving rectangle with mouse  RSS feed

 
InfiniteR Kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


How can i move a rectangle using mouse in a JPanel?
 
Campbell Ritchie
Sheriff
Posts: 55315
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take note of what you have been told in your Purple Mooseages.

Please explain what you mean by moving a rectangle. How are you drawing it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!