Login  Register

ImageJ Applet and Macros

Posted by StrongSteve on Feb 01, 2008; 7:48pm
URL: http://imagej.273.s1.nabble.com/ImageJ-Applet-and-Macros-tp3697304.html

Hi Everybody!

I am currently trying to integrate existing macros into an ImageJ Applet. Unfortunally with little (none) success! ;)

Basically I am trying to integrate this macro Window Level Macro into the applet version of ImageJ - ImageJA.

I put the sources into the ImageJ Sources, generated a new jar file, signed it. Wrote a simple HTML-File, put an StartupMacros.txt file into the same directory and started my webbrowser. Altough I can see the button for the macro in the toolbar and I can click it without an error, nothing happens. No functionality is executed.

I have already tried monitoring the macro code with some simple logging statements (good old system.out.println(...)) but nothing is being writen to the Java Console in the browser so I guess the click on the new macro button does not execute any functionality, but it does not throw an exception either.

Any ideas why this is so? I am really stuck here! ;(
 
Thanks in Advance for your time!

Greetings
Stefan