Ohh snap, good catch. Yeah, ArrayList probably wouldn't work for you too well then. :p
Although, this does point out why you shouldn't use pre-existing names for your classes! Sure, that's what I...
Type: Posts; User: KevinWorkman
Ohh snap, good catch. Yeah, ArrayList probably wouldn't work for you too well then. :p
Although, this does point out why you shouldn't use pre-existing names for your classes! Sure, that's what I...
I'm glad you got it working. For what it's worth, it's pretty much universally accepted that ArrayLists should be used instead of Vectors.
Recommended reading: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)
How would a drawPixel() method help you? The logic would be the same, just more...