简体   繁体   English

在没有 appletviewer 的情况下在浏览器外查看 java applet

[英]Viewing a java applet outside of the browser without appletviewer

I found some old published java applets .我发现了一些旧的已发布的java 小程序 Ideally, it would be great to run that in the browser but newer versions of Chrome (which my students have) makes running Java applets nearly impossible.理想情况下,在浏览器中运行它会很棒,但较新版本的 Chrome(我的学生有)使得运行 Java 小程序几乎不可能。

I can't expect all my students to have appletviewer since it's deprecated and not shipped with newer versions of the JDK.我不能指望我所有的学生都拥有 appletviewer,因为它已被弃用并且没有随更新版本的 JDK 一起提供。 Is there an easy way to create a wrapper to start a java Swing frame that can start the applet?有没有一种简单的方法来创建一个包装器来启动一个可以启动小程序的 java Swing 框架? I've tried looking at this other question and this guide but I don't think I have the right incantation.我试过查看其他问题本指南,但我认为我没有正确的咒语。 Any help would be appreciated.任何帮助,将不胜感激。 Thanks!谢谢!

Please consider using CheerpJ Applet Runner, available for Chrome and Edge请考虑使用适用于ChromeEdge的 CheerpJ Applet Runner

It is an easy to use, single click extension that can run legacy Java applets in modern browsers securely and without requiring any additional software.这是一个易于使用的单击扩展程序,可以在现代浏览器中安全地运行旧版 Java 小程序,而无需任何其他软件。

Full disclosure, I am CTO of Leaning Technologies and lead developer of the CheerpJ technology.充分披露,我是 Leaning Technologies 的首席技术官和 CheerpJ 技术的首席开发人员。

The CheerpJ Applet Runner extension is free for educational/personal use, but please note that any other use requires a license. CheerpJ Applet Runner 扩展可免费用于教育/个人用途,但请注意,任何其他用途都需要许可证。 For more info see here .有关更多信息,请参见此处

You could try Applet Runner plug-ins for IntelliJ/JetBrains , NetBeans or Eclipse .您可以尝试适用于IntelliJ/JetBrainsNetBeansEclipseApplet Runner插件。

Full disclosure, I'm the developer of the plug-ins.完全公开,我是插件的开发者。

The plug-ins are free, even for commercial use.插件是免费的,即使用于商业用途。 There is a pro version that lets you run the applets in a Java Swing frame without the need of an IDE.有一个专业版可以让您在 Java Swing 框架中运行小程序,而无需 IDE。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM