import java.awt.*;
import javax.swing.*;

public class Image extends JComponent {

	@Override
	public void paintComponent(Graphics pinceau) {
		Graphics secondPinceau = pinceau.create();

		Image img = Toolkit.getDefaultToolkit().getImage("vaisseau.png");
		secondPinceau.drawImage(img, 0, 0, this);
	}
}