I don't know what is going on - I cannot get my arrow keys to affect the program to change the speed of the car.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
...
Type: Posts; User: rtucker1023
I don't know what is going on - I cannot get my arrow keys to affect the program to change the speed of the car.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
...
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
@SuppressWarnings("serial")
public class RacingCar extends JFrame {
public RacingCar() {
add(new CarImage());