Jason Check wrote:If the image is not diplayed, I suggest you make the following changes of you paintComponent:
public void paintComponent(Graphics g) {
g.drawImage(image, 0, 0, this);
}
Campbell Ritchie wrote:
I copied the code you had corrected, when I said to get rid of the Exception declaration, changed the name of the image file and compiled it. The code ran first time, showing the image, only the window started off very small.Marky Vasconcellos wrote:How are you compiling and running?