Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't figure out why my Line shape won't re-size

 
kenny gill
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'm making a drawing applet and I just can't get my line shape to re-size. Rectangle and oval re-size just fine but not line. I believe I have the correct code for the method of re-size to allow line to be re-sized but it just will not work. I hope someone can help me figure this out.

Here is the class:

 
Stevens Miller
Bartender
Posts: 1223
23
C++ Java Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't anyone write comments anymore?

kenny, that's a lot of code to read and debug. Can you pare it down to the least number of lines that still exhibit your problem? Often, merely doing that will reveal a solution and, if it doesn't, it will make it easier for us to help you out.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> 'm making a drawing applet....

you missed the opening'I' in your copy/paste

http://stackoverflow.com/questions/15160968/cant-figure-out-why-my-line-shape-wont-re-size
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic