hi,

        i want to draw a image in my applet and i used the code below. but
it is not loading. i think there is a small mistake. 

thanks in advance
MUTHU.



import java.awt.*;
import java.lang.*;
import java.net.*;

public class GetImage extends java.applet.Applet {


    Image img;

    public void init() {

        System.out.println(getCodeBase());
        try {
        img = getImage(new
URL("http://163.122.6.33:2000/applet/"),"Chinese.jpg");
        System.out.println(img.getSource());
                }
                catch(Exception e)
                {
                    System.out.println("Exception"+e);
                }

    }


        



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to