Drawing an image in Swing

Main.java:

import java.awt.event.*;
import javax.swing.*;
import java.awt.*;
 
public class Main extends JFrame {
   private Image image;
 
   public Main() {
      addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent we) {
            System.exit(1);
         }
      });
 
      image = Toolkit.getDefaultToolkit().getImage("c:\djkrush.jpg");
   }
 
   public void paint(Graphics g) {
      g.drawImage(image, 0, 20, this);
   }
 
   public static void main(String []args) {
      Main main = new Main();
      main.setSize(150, 150);
      main.setVisible(true);
   }
}

Image used: