Sign in to follow this  

Java images?

This topic is 1838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What is wrong with this?


   public void paint(Graphics g) {
        guiLayout = getImage(getCodeBase(), "gui.png");
        //Object .paints
        g.drawImage(guiLayout, 500, 300, this);


As far as I can tell the code is correct, there are no errors and the applet runs, but it doesnt display the image...

I've tried several methods to display the image, its weird that none are working now when they worked yesterday with a different image.  -____-

Share this post

Link to post
Share on other sites
Sign in to follow this