to add images and sounds to your program you can refer to the following examples, you can access it from moodle too.
- // you can create BufferedImage objects to draw later
BufferedImage birdImage = panel.loadImage("bird1.jpg");
BufferedImage birdImage2 = panel.loadImage("bird2.jpg");
Graphics g = panel.getGraphics();
- // image, x, y, width, height, null