You will need to draw the image yourself by overriding the
paintComponent(Graphics g)
method of
JComponent
in your
JFrame
implementation. See the
javadoc[
^] for details
@Override
protected void paintComponent(Graphics g)
{
Image img = getToolkit().getImage("filename.png");
g.drawImage(img,0,0,getWidth(),getHeight());
}
As an alternative, for image manipulation you can use the
Graphics2D[
^] class.
Good Luck!