-
Applet in Javascript
Hi All,
I have an applet to be embedded into an html file,but whenever I open it,the
applet can't be instantiated.
Here's the code:
-
Re: Applet in Javascript
The browser needs access to all of the files necessary - that might be the
problem. Did you JAR the applet?
Where's the code?
Tom Duffy
"Huiyuan" <huiyuanm@uwyo.edu> wrote:
>
>Hi All,
>I have an applet to be embedded into an html file,but whenever I open it,the
>applet can't be instantiated.
>Here's the code:
-
Re: Applet in Javascript
"Tom Duffy" <td4729@hotmail.com> wrote:
>
>The browser needs access to all of the files necessary - that might be the
>problem. Did you JAR the applet?
>
>Where's the code?
>
>Tom Duffy
>
>"Huiyuan" <huiyuanm@uwyo.edu> wrote:
>>
>>Hi All,
>>I have an applet to be embedded into an html file,but whenever I open it,the
>>applet can't be instantiated.
Now I know the reason.I used swing,but haven't installed some plug-in,so
it isn't supported by the browser.
>>Here's the code:
>
-
Re: Applet in Javascript
>"Huiyuan" <huiyuanm@uwyo.edu> wrote:
>>
>>Hi All,
>>I have an applet to be embedded into an html file,but whenever I open it,the
>>applet can't be instantiated.
When you are about to load the applet via the browser, make sure that the
classpath of the system is not pointing to your applet, the browser only
wants to load the applet via the same route as the html-page, but the ClassLoader
first looks in the Classpath-variable then it downloads the applet-code
Hope it helps!
-
Re: Applet in Javascript
"Nikolaj B.N" <nb@itplus.dk> wrote:
>
>>"Huiyuan" <huiyuanm@uwyo.edu> wrote:
>>>
>>>Hi All,
>>>I have an applet to be embedded into an html file,but whenever I open
it,the
>>>applet can't be instantiated.
>
>When you are about to load the applet via the browser, make sure that the
>classpath of the system is not pointing to your applet, the browser only
>wants to load the applet via the same route as the html-page, but the ClassLoader
>first looks in the Classpath-variable then it downloads the applet-code
>
>Hope it helps!
I had made it.Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|