Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Quick question print method

 
Gabriel White
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey yall, I'm pretty new to applets and I have a quick question/comment. I need to change my paint method so that it displays all of the circles except the last one, which I am supposed to make blue. (Display the most recently created circle in blue.) Right now my applet just shows the lastInstance of the default color, which is red. Here is an example of how it should look: example
Anyway, I can click around and get the red one to repaint() itself all over where I click, but how do I get it to display again and again. My vector is called myCircles.
Thanks in advance
Here is my code:

Gabe
 
Gabriel White
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I got it. In case you want to know:

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic