开发者

Unable to run java applet in web browser

I have added one class file and one zip file into html file an开发者_如何学Cd some html tags like bgcolor,title,center and so on my point is that the web browser runs html code only but unable to run applet without any error how can i do that very succesfully

[Translation attempt: I have created a simple HTML page with one java applet, a zip download link and some basic HTML formatting 'bgcolor, title, center'. My applet does not run, and no error is displayed]

and one thing also a single event like one click button it runs but multiple events doesn't run please answer me

[Translation attempt: Upon clicking on the applet once (?) it works as intended, however it does not run fully to completion (?)]

i currently use Mozilla Firefox, no ad remover is installed and there is currently no error message simply a blank box with some html (code?) features that i have used in html file

================================================================================ now after enabling console and refreshing it gives window and it contain following:-\

Java Plug-in 1.6.0_22
Using JRE version 1.6.0_22-b04 Java HotSpot(TM) Client VM
User home directory = C:\Users\HONEY
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
APPLET tag missing CODE parameter.**


APPLET tag missing CODE parameter.**

Is the message in the console, which suggests to me that the "APPLET tag missing CODE parameter.**". Which is bad grammar, but means something like..

Wrong!

<applet
  width="400"
  height="300"
>
</applet>

Right/Corrrect

<applet
  code="my.own.MyClass"
  width="400"
  height="300"
>
</applet>


Data, that you provided is insufficient, but you can get more information from Java Console, you can configure it to always show and there you will see applet's errors if any. Configure it to "Always Show" link text

Another points: what browser do you use? Is there any advertisement removers installed for browser (like AdBlock +)?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜