none
IE11 not support applet? RRS feed

  • Question

  • java code:

    import java.awt.Graphics;
    import java.applet.Applet;
    public class Applets  extends Applet

    public void paint(Graphics g) 

    g.drawString("hello world",5,30);

    html code:

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>applet测试</title>

    </head>

    <body>
    <applet
    code="Applets.class"
    width="100" height="100"
    ></applet>
    </body>

    </html>

    I found that jdk6 to complie code and use ie8 to browes htmlpage.i did ok

      
    Monday, January 28, 2019 1:34 AM

All replies