• Post Reply Bookmark Topic Watch Topic
  • New Topic

Functions do not work  RSS feed

 
Marcus Rauchfuss
Ranch Hand
Posts: 51
1
Eclipse IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

this class is part of a homework assignment and I have a problem:



I want to be able to move a drawn shape around by dragging and resizing a given shape (I can click that on a panel, the choosing-mechanism works)

I have tried for a week now to get the move-by-dragging and resizing to work, no success. Can someone give me a hint what the code should look like?



 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would think you'd get more answers in the Swing forum.
 
Stevens Miller
Bartender
Posts: 1445
30
C++ Java Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's rather a lot of code to digest without being able to run it. Can you pare it down to the parts you need to be able to drag a shape, and add what's missing (the Model class, for example), and a main routine?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!