Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Communication-Mobile android
Title: javafirework Download
 Description: Java fireworks effects code, use the mouse to click on the browser panel, colorful fireworks effect will appear. To use the Java knowledge points are: listening, Graphics class and the Thread class application mouse events. Use the Graphics class: Draw fireworks, use the Thread class: Managing threads, use the Math class: generate random numbers, use the Color class: set the color. Realization of ideas: Java simulation fireworks effects, first define the function of the main thread run () on a fireworks draw. (As defined in the Graphics class object in the function run), to draw fireworks through the program algorithm. Then realize fireworks shimmering effect, (). Sleep () method makes the current thread to sleep through the Thread class Thread.currentThread, allowing users to enjoy the effects of the current drawing. Finally, to achieve human-computer interaction, through mousePressed (MouseEvent e) function to achieve the mouse event listener, when you press the mouse button to creat
 Downloaders recently: [More information of uploader rpudn62]
 To Search:
File list (Check if you may need any files):
 

烟花\Fireworks.class
....\Fireworks.html
....\Fireworks.java
....\_desktop.ini
....\烟花.doc
烟花
    

CodeBus www.codebus.net