Article View: borland.public.jbuilder.java.language
Article #8719Re: newbies question
From: Torsten Welches
Date: Fri, 09 Mar 2001 06:48
Date: Fri, 09 Mar 2001 06:48
22 lines
1714 bytes
1714 bytes
Alain, the browser does not find you class file. Try putting it into the same directory as the HTML file with the APPLET tag. Check this for the concepts: http://java.sun.com/docs/books/tutorial/applet/index.html http://java.sun.com/docs/books/tutorial/applet/appletsonly/appletTag.html Torsten "Alain arbach" <alain.arbach@interfacing.com> wrote: >Hi, > >What I should do to compile an applet in JDK. I tried javac ><filename>, that's ok (no error). Then I put this code in html >file: <APPLET CODE=filename CODEBASE=/ WIDTH=300 >HEIGHT=180></APPLET> > >I execute it (view it in browser) and nothing. I just can see a >gray square(class not found). >Do I have to put some option when I compile my code?
Technical Details
Message-ID:
<3aa87cba$1_1@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!bornews.borland.com!dnews!207.105.83.65References:
<3aa7cc85_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,1b420311557f68b8 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-08 23:10:10 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: newbies question Newsgroups: borland.public.jbuilder.java.language X-User-Info: 193.158.55.74 193.158.55.74 References: <3aa7cc85_1@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3aa87cba$1_1@dnews> Date: 8 Mar 2001 22:48:26 -0800 X-Trace: 8 Mar 2001 22:48:26 -0800, 207.105.83.65 Lines: 23 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!bornews.borland.com!dnews!207.105.83.65