Java Design Patterns Question:

Explain about particle canvas?

Tweet Share WhatsApp

Answer:

Particle canvas is a sub class of java.awt. Canvas this class provides a drawing area for all the particles. Whenever a paint method is called it invokes draw for all the existing particles. It cannot create object or particles by itself. Existingparticle objects are stored in the array of instance variable particles.

Download Java Patterns PDF Read All 29 Java Patterns Questions
Previous QuestionNext Question
Explain about state dependence?Explain about closed subsystems?