Current Page:
NeXtMidas User's Guide
![]() ![]() ![]() |
|
Macros in AppletsWhen running a NeXtMidas macro within an Applet, your applet must specify the panel in which the macro will run. <applet codebase=".." archive="jars/nxm-sys.jar,jars/nxm-dsp.jar" code="nxm.sys.libg.MApplet" name="Demo" width="100%" height="100%" alt="Your browser understands the <APPLET> tag but isn't running the Java applet (is Java enabled in your preferences?)"> <param name="WIN" value="DEMOWIN"> <param name="OPTS" value="DSP,SYS"> <param name="CMD" value="DEMO/WIN.PANEL=DEMOWIN/THEME=BROWSER"> Your browser is completely ignoring the <APPLET> tag or you don't have the Java Plug-in installed/setup for your browser. </applet> In the above example, an applet is created (using the <applet> tags and names its window DEMOWIN. The command passed to NeXtMidas is "DEMO/WIN.PANEL=DEMOWIN", which runs the DEMO command (an existing macro) inside the DEMOWIN panel of the applet. The above code can be found in the nm-demo-page.html
example in |
|