There is SwingExplorer tool from this site http://www.swingexplorer.com/ that used to navigate swing content but how do I apply it to Applet?,especially if I want to integrate it to eclipse-plugin how do I configure the running configuration?
I guess that you need to supply the parameter of the applet that you want to run to AppletViwer and let the SwingExplorer navigate the AppletViewer(which in turn run your applet class) but i don't know how to pass such parameter to AppletViwer,Can anyone explain me how to do this?
Note that simply create new frame on top of applet and let it run as usual Swing application will not do because it need to be operated in browser-like environment.
It is possible to provide a basic applet stub for an applet that is being hosted in a frame (a desktop app.). Several methods of the applet context are easy to reproduce in an application. The others are either harder, impractical to implement easily, or not relevant to a desktop based applet.
This example can be run as either an applet embedded in HTML or the applet viewer, or as an applet embedded in a desktop component (specifically a
JOptionPane
since the code is shorter).The example was adapted from one in which the OP was more interested in the applet parameters. This version also adds support for reporting the document and code base.