这个问题困扰我很久,虽然它只是个小问题,现在记录一下。
系统win7,jdk1.8.0_131,浏览器QQ浏览器,火狐等等能想到的都是了一遍(都不行,郁闷)。
下面的这张图片是运行applet程序是需要用到的html文件和java源代码,以及在appletviewer中正常执行结果。
图1
而在浏览器中,applet片段无法显示,见下图。
图2
图3
推测结果:
(1) 我的JDK配置不正确
(2) 浏览器已经抛弃了applet,笑死。。。怎么可以这样。郁闷
求解答。