运行老的Java小程序的最直接的方法 [英] Most straightforward way of running old java applets

查看:158
本文介绍了运行老的Java小程序的最直接的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在互联网上的许多物理动画/模拟applets是几十年的历史Java小程序,它是极难得到他们的工作。什么是运行Java小程序(该浏览器不允许)的最好方法?

Many physical animation / simulation applets on the internet are decades old Java applets and it is extremely difficult to get them to work. What would be the best way to run a Java applet (which browsers do not allow)?

例如,我有一个中使用的.class A 的.htm

For example, I have a .class used in a .htm

<applet code="taylor.class" name="taylor" width="900" height="800">
    <param name="label" value="This string was passed from the HTML host.">
    <param name="background" value="008080">
    <param name="foreground" value="FFFFFF">
</applet>

我如何不被拦截的安全运行的东西呢?

How do I run this without being blocked by security things?

推荐答案

您可以使用的appletviewer 的JDK。在appletviewer中可以让你无需使用浏览器打开小程序(通过其URL)。

You can use the appletviewer of the JDK. The appletviewer allows you to open the applet (via its URL) without the need to use a browser.

这篇关于运行老的Java小程序的最直接的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆