Run Java-applets directly ( without html page )

前端 未结 7 1301
一向
一向 2021-01-05 15:58

I have a problem.

How i can run my java-applet directly without embedded in my web page?

I know appletViewr can execute applet without a browser but I need

7条回答
  •  一向
    一向 (楼主)
    2021-01-05 16:09

    Appletviewer is the way to go, BUT, it still requires a webpage with an applet-tag.

    An alternative solution is to write a stub class, with a main method, that instantiates the applet, calls init(), start(), stop() and destroy() as would otherwise have been done by the browser or appletviewer.

提交回复
热议问题