• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Bartender
Posts: 1464
32
Netbeans IDE C++ Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Hug your destiny! And hug this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic