Thank for the information. . How do I get the program to identify when any key other than ‘1’, ‘2’, ‘3’, ‘4’ as incorrect keys and displays an error message when the user presses a wrong key.
Type: Posts; User: risen375
Thank for the information. . How do I get the program to identify when any key other than ‘1’, ‘2’, ‘3’, ‘4’ as incorrect keys and displays an error message when the user presses a wrong key.
I kind of new to writing programs. How do you use keylistener? I need to get finished with this program today
Hi the program I made plays sound files when the user input a numeric key. How do I get the program to identify when any key other than ‘1’, ‘2’, ‘3’, ‘4’ as incorrect keys and displays an error...
I need help writing a method that check if the two sprites blackhole and ball collide and when a collision occurs, the two sprites both disappear from the screen.
public class AnimationClass...
Hi I need to edited this code so that when the ball and blackhole sprite collide the two sprites destroy each other (meaning they both disappear from the screen)
import java.awt.*;
import...
Im trying to draw 2 image of the asteroid sprite in my program. I can seem to get to display more than one asteroid
import java.awt.*;
import java.awt.image.*;
import java.applet.*;
import...