but do i have to <include> any files?
--- Forest Handford <fhandford@...> wrote:
> I'm not familiar with Java, but I know in C++ you
> could shorten one line functions as follows:
>
> public void init()
> logo=getImage(getDocumentBase(),"logo.jpg");
>
> With just one line you don;t need the curly braces.
>
>
> ***On Sat 12:10p Dec 6 fireviper9999
> <fireviper9999@...> 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