hi everyone,
Put a JLabel on your window.
try this
ImageIcon i = new ImageIcon("file");
JLabel l = new JLabel(i);
To change the image during runtime have an option that can
reload a new image and repaint the label and window
The ImageIcon class has functions to set the image
See Java's Image Icon class for a more detailed description
I hope this helps you
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
1.3 or 1.4 allowed for png format as well.
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51