Posts by nightmareNBA • 1 point
2 posts
-
-3
votes1
answer58
viewsQ: my Boolean does not respond , what should I do?
my code is public class Game extends Canvas implements Runnable,KeyListener{ private static final long serialVersionUID = 1L; public static JFrame frame; private Thread thread; private boolean…
-
-1
votes1
answer39
viewsQ: I can’t access the player’s Boolean, how do I proceed?
the code import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import…