无法在网络浏览器中运行java小程序
我已经在 html 文件中添加了一个类文件和一个 zip 文件,以及一些 html 标签,如 bgcolor、title、center 等,我的观点是,Web 浏览器仅运行 html 代码,但无法运行小程序而不出现任何错误,我该怎么做非常成功
[翻译尝试:我创建了一个简单的 HTML 页面,其中包含一个 java 小程序、一个 zip 下载链接和一些基本的 HTML 格式“bgcolor、title、center”。我的小程序没有运行,并且没有显示错误]
,还有一件事是单个事件,例如单击按钮,它会运行,但多个事件不会运行,请回答我
[翻译尝试:单击小程序一次(?)它按预期工作,但是它没有完全运行完成(?)]
我目前使用 Mozilla Firefox,没有安装广告删除程序,并且当前没有错误消息,只是一个带有一些内容的空白框我在 html 文件中使用的 html (代码?)功能
========================================= ============================================= 现在启用控制台并刷新后会给出窗口,它包含以下内容:-\
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.**
I have added one class file and one zip file into html file and 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.**
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
APPLET 标记缺少 CODE 参数。**
是控制台中的消息,这向我表明“APPLET 标记缺少 CODE 参数。**”。这是错误的语法,但意味着......
错误!
正确/正确
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!
Right/Corrrect
您提供的数据不足,但您可以从Java控制台获取更多信息,您可以将其配置为始终显示,并且您将在其中看到小程序的错误(如果有)。将其配置为“始终显示”
链接文本
另外一点:您使用什么浏览器?是否为浏览器安装了广告删除程序(例如 AdBlock +)?
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 +)?