try
Image bg = new ImageIO(new File ("stewie.jpg"));
sirlink99
Practically a Master Poster
661 posts since Oct 2010
Reputation Points: 45
Solved Threads: 19
try changing the name to paintComponent, and call repaint(); from where you want the program to run it.
sirlink99
Practically a Master Poster
661 posts since Oct 2010
Reputation Points: 45
Solved Threads: 19