0

i have small problem with ImageComponent Class. I can't find it . How to import that class ? I'm trying to compile the sourcecode from line Drawing in java . Any ideas ? Thx for help

Community
  • 1
  • 1
user3196130
  • 33
  • 2
  • 5
  • The `ImageComponent` class in that link is user-defined. What are you trying to do exactly? – Nico Feb 16 '14 at 22:49
  • damn, sorry it's too late for thinging for me :) haha, u r right ... thx – user3196130 Feb 16 '14 at 22:50
  • That's alright. Delete this question since you don't need help on this anymore. – Nico Feb 16 '14 at 22:51
  • Any ideas how to save that lines ? Any time i print new line the other one dissapeare . – user3196130 Feb 16 '14 at 22:53
  • I'm assuming you're using `super.paintComponent(g)`? (which you should). That is what clears the frame each time. Place your lines in an ArrayList. Check out the answer here to see how that might work: http://stackoverflow.com/a/13830694/1105759 – Nico Feb 16 '14 at 22:57

0 Answers0