applet.show()
Note: C:\Documents and Settings\2z7\TestCell4\src\Combox.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
JFrame appletFrame =new JFrame("My Applet");
Applet theApplet =new Combox();
appletFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
appletFrame.setSize(800,800);
appletFrame.add(theApplet,"Center");// applet fills
// frame
/* Now start invoking applet methods. */
theApplet.init();
appletFrame.show();// bring frame and initialized
How to change it?
Thanks

