• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Quick question print method

 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind, I got it. In case you want to know:

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic