ok i'll try,
--- balajee_jobs <balajee_jobs@...> wrote:
> even i'm not familiar with java.. but i think we
> dont need to
> declare logo as public.... may be it causes some
> trouble....
>
> public Image logo; -> Image logo;
>
> hope this works....
>
> adios,
> -B
>
> > > <fireviper9999@y...> wrote***
> > > I'm having trouble running the applet. Can you
> tell
> > > me if I made a
> > > mistake?
> > >
> > >
> >
>
_____________________________________________________________________
> > >
> > > import java.applet.*;
> > > import java.awt.*;
> > >
> > > public class loadimage extends Applet {
> > >
> > > public Image logo;
> > >
> > > public void init()
> > > {
> > >
> logo=getImage(getDocumentBase(),"logo.jpg");
> > > }
> > >
> > > public void paint(Graphics g)
> > > {
> > > g.drawImage(logo,0,0,this);
> > > }
> > >
> > > }
> > >
> > >
> > >
> > >
> > >
> >
>
_____________________________________________________________________
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > To unsubscribe from the East Coast Games Forum,
> send
> > > an email to:
> > > EastCoastGames-unsubscribe@yahoogroups.com
> > >
> > > Visit the website at:
> > > http://www.EastCoastGames.com/
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail
> AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
>
>
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree