Add a picture to a Jpanel
I am trying to add a picture to a jpanel.
such as.
JPanel alpha =new JPanel()
Image img = Toolkit.getDefaultToolkit().getImage("cooltext56657116.gif");
alpha.add (img)
but I get the error that states that there is no add(java.awt.Image)
Is there a way I can add an image to a JPanel using another means,
Without using the paint Method.
all help is appreciated, and thanks in advanced.

