正在加载图片...
The JApplet Class The applet class is an awt class and is not designed to work with Swing components. To use Swing components in Java applets, it is necessary to create a Java applet that extends javax. swing JApplet, which is a subclass of java applet applet. JApplet inherits all the methods from the applet class. In addition, it provides support for laying out Swing components Liang, Introduction to Java Programming, Sixth Edition, (c)2005 Pearson Education, Inc. All rights reserved. 0-13-148952-6Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved. 0-13-148952-6 3 The JApplet Class The Applet class is an AWT class and is not designed to work with Swing components. To use Swing components in Java applets, it is necessary to create a Java applet that extends javax.swing.JApplet, which is a subclass of java.applet.Applet. JApplet inherits all the methods from the Applet class. In addition, it provides support for laying out Swing components
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有