Hey everybody...I am maintain some old code, and I ran into a small problem. In the code, there is this line: sun.applet.AppletViewer.main(args); I beleive this starts the applet viewer, but I am not sure. The problem is that it is deprecated, and I am trying to update everything. I have searched and searched through api's/documenation, but can't find a replacement for it. Does anybody have any suggestions? Thanks All! Cardwell
It looks like the app is attempting to spawn a copy of the AppletViewer in order to run an applet. On my JDK, "appletviewer" is now a shell script, so I'd probably replace the statement to a call to the runtime.exec method with the appletviewer command line in it ("appletviewer MyApplet");
An IDE is no substitute for an Intelligent Developer.