I am using Java Plug-in and JSObject for DOM/JS <-> Applet communication.
I am using Eclipse IDE and at development time, I like the simplicity of Run/Debug As->Applet to launch and quickly see my layout/changes reflected in the running applet.
But I need to use JSObject to get some data that will come from the parent DOM/JS.
What is the best way to use Applet Viewer in this case?
One thing I can think of is to fake the DOM/JS calls in a delegate/wrapper and pass back mock objects if running under applet viewer (Basically if cannot obtain JSObject.getWindow)
I dont do a lot of applet development so was wondering if there is a better way to handle this? (Seems like this should be a common scenario)