This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes fireworks without applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "fireworks without applet" Watch "fireworks without applet" New topic

fireworks without applet

Aaron Roberts
Ranch Hand

Joined: Sep 10, 2002
Posts: 174
I'd like to make a simple firework display. My parameters are -

- This isn't an applet, its in an application
- I want about a 30fps update
- It shouldn't hog the cpu
- It doesn't have to be super fancy, just fire, explode, fade, repeat
- I'd like to include sound

Any ideas? Anyone have some sample code?

Aaron R>
It is sorta covered in the JavaRanch Style Guide.
subject: fireworks without applet