Pong Controls With KeyListener
问题 I have ran into a bit of trouble getting my pong game to work, this project started simply with making a ball have physics but then i decided to do some more work I have that ball bounce back and forth and all but the keys W and S wont control player one and the up and down arrow keys dont control player 2 public void keyPressed(KeyEvent e){ if(e.getKeyCode() == e.VK_UP){ p2Y -= 3; System.out.println("UP"); } if(e.getKeyCode() == e.VK_DOWN){ p2Y += 3; System.out.println("Down"); } if(e