The Artima Developer Community
Sponsored Link

Java Answers Forum
getCodeBase() problem

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Saranga Pani Hazarika

Posts: 5
Nickname: asha
Registered: Jul, 2002

getCodeBase() problem Posted: Aug 31, 2002 9:03 AM
Reply to this message Reply
Advertisement
what is the bug in the follwing programme
import java.awt.*;
import java.applet.*;
public class image extends Applet
{
image i;
public void init()
{
i=getImage(getCodeBase(), "duke.gif");
}
public void paint(Graphics g)
{
g.drawImage(i , 20 , 20 , this);
}
}

Topic: what does remote refrence layer do in rmi Previous Topic   Next Topic Topic: string and string buffer??

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use