MyShowDocument
Displays the contents of a URL passed back by an instantiated applet. When calling JMNewAppletViewer, you must designate this function in the applet callbacks structure. For example, this is how you would define your output function if you were to name it MyShowDocument:
void MyShowDocument(JMAppletViewerRef viewer,
const char* urlString,
Boolean inNewWindow);
viewer
- The current applet.
urlString
- The URL passed by the applet.
inNewWindow
- A Boolean value. If true, you should display the URL contents in a new window; if false, you should display the URL contents in the current window.