NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 1230 - ImageJ macro showMessage works for html, but not HTML
ImageJ macro showMessage works for html, but not HTML
Status: RESOLVED FIXED
Product: ImageJ
Classification: Unclassified
Component: Scripting
unspecified
PC Windows
: P4 normal
Assigned To: Curtis Rueden
Depends on:
Blocks:
 
Reported: 2016-02-19 15:47 CST by Jeff Hanson
Modified: 2016-02-20 00:57 CST
3 users (show)

See Also:

Description Jeff Hanson 2016-02-19 15:47:01 CST
When toying with ImageJ macro's messagebox, based on a hint from Herbie...  I noticed that the HTML tag only works if it's lower case.
Here's an ImageJ macro showing the difference:

msgTitle = "My Title";
msgHTML = "<HTML><BODY>This is <B>my message<\B>.<\BODY><\HTML>";
showMessage(msgTitle, msgHTML);
msgHTML = replace(msgHTML, "HTML","html");
showMessage(msgTitle, msgHTML);

Information about your version of Java:

  os.arch => amd64
  os.name => Windows 7
  os.version => 6.1
  java.version => 1.6.0_24
  java.vendor => Sun Microsystems Inc.
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_24-b07
  java.vm.name => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 19.1-b02
  java.vm.vendor => Sun Microsystems Inc.
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: CHECK_TURNED_OFF

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: D:\Stuff\FIJI\Fiji.app/java/win64/jdk1.6.0_24//jre
  imagej.dir => D:\Stuff\FIJI\Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20160121065533)
Fiji: http://update.fiji.sc/ (last check:20160114152236)
3D ImageJ Suite: http://sites.imagej.net/Tboudier/ (last check:20151214014914)
BioVoxxel: http://sites.imagej.net/BioVoxxel/ (last check:20151207164930)
LOCI: http://dev.loci.wisc.edu/fiji/ (last check:20150428175912)
Bio-Formats 5: http://sites.imagej.net/Bio-Formats-5/ (last check:20160120212638)

Files not up-to-date:
  5cf0711e (LOCAL_ONLY) 20131118120955 jars/akutan-1.0.jar
  0449e3ec (LOCAL_ONLY) 20131118120959 jars/colt-1.2.0.jar
  6cd7cd7d (LOCAL_ONLY) 20131118121001 jars/concurrent-1.3.4.jar
  6227c67b (LOCAL_ONLY) 20131118121015 jars/curve-fitter-1.0.0-SNAPSHOT-with-libs.jar
  1ad3be0d (LOCAL_ONLY) 20130131121733 jars/jpedalSTD.jar
  c480d491 (LOCAL_ONLY) 20131118120952 jars/jxlayer.jar
  8523861f (LOCAL_ONLY) 20131118121014 jars/lma-1.3.jar
  04f8e59b (LOCAL_ONLY) 20131118121010 jars/native-library-util-2.0-SNAPSHOT.jar
  156550ab (LOCAL_ONLY) 20130716110100 jars/ome-io.jar
  f2b7e781 (LOCAL_ONLY) 20131118120930 luts/lifetime.lut
  c225ff29 (LOCAL_ONLY) 20131126160613 macros/BatchMacro.ijm
  cbbaeedb (LOCAL_ONLY) 20140801145641 macros/Example Expression things/presets.txt
  8d61199e (LOCAL_ONLY) 20140801145641 macros/Example Expression things/presetsNT.txt
  7deab978 (LOCAL_ONLY) 20150105140036 macros/FixedLengthSegmentedLine.ijm
  482d03bb (LOCAL_ONLY) 20150423172739 macros/LineProfileTracking.ijm
  d4aa9389 (LOCAL_ONLY) 20150311124831 macros/Listproperties.ijm
  837ea66c (LOCAL_ONLY) 20140815093434 macros/MeasureandLable.ijm
  8877656d (LOCAL_ONLY) 20140829145025 macros/copy flip clipboard close.ijm
  5521ab0e (LOCAL_ONLY) 20140910140314 macros/doxor.ijm
  95cbbb51 (LOCAL_ONLY) 20140808101521 macros/test.ijm
  d31fb446 (LOCAL_ONLY) 20141120094515 macros/test2.ijm
  50de7be2 (LOCAL_ONLY) 20130222094604 plugins/Analyze/GLCM_Texture.class
  545b3a6f (LOCAL_ONLY) 20130207164938 plugins/Analyze/ImageFlow_.jar
  7b0a1c23 (LOCAL_ONLY) 20130221164409 plugins/Analyze/Mexican_Hat_Filter.class
  3f7f7524 (LOCAL_ONLY) 20130207154549 plugins/Analyze/doc/license.txt
  7552d052 (LOCAL_ONLY) 20130207154549 plugins/Analyze/doc/readme.txt
  2642ca93 (LOCAL_ONLY) 20130212115537 plugins/Grouped_ZProjector.class
  46f30e9f (LOCAL_ONLY) 20150904164640 plugins/StackReg/StackReg_-1.0.0-SNAPSHOT.jar
  d195145f (LOCAL_ONLY) 20141017150730 plugins/Stack_Deflicker.class
  427909a6 (LOCAL_ONLY) 20150114173941 plugins/Utilities/FolderUnfiler.class
  9a280aec (LOCAL_ONLY) 20130726095043 plugins/absnake_.jar
  c0ce6ed1 (LOCAL_ONLY) 20100908204634 plugins/ij-plugins_toolkit.jar
  d7b76a70 (LOCAL_ONLY) 20150825095419 plugins/jars/BeanShell.jar
  fc868626 (LOCAL_ONLY) 20150825095207 plugins/jars/Jython.jar
  97cf0ca7 (LOCAL_ONLY) 20130212114857 plugins/poorman3dreg/PoorMan3DRegCredits$1.class
  dfdfdd31 (LOCAL_ONLY) 20130212114857 plugins/poorman3dreg/PoorMan3DRegCredits.class
  62c15493 (LOCAL_ONLY) 20130212114857 plugins/poorman3dreg/PoorMan3DReg_.class
  c119c70d (LOCAL_ONLY) 20130212114857 plugins/poorman3dreg/SaveToVolumes_.class
  41cae167 (LOCAL_ONLY) 20131118121017 plugins/slim_plugin-1.0.0-SNAPSHOT.jar
  21ebed20 (LOCAL_ONLY) 20141017150730 plugins/wrMTrck_$particle.class
  5aef7088 (LOCAL_ONLY) 20141017150730 plugins/wrMTrck_.class
  7f56f37f (LOCAL_ONLY) 20141017150730 plugins/wrMTrck_Batch.txt
Comment 1 Jeff Hanson 2016-02-19 15:51:56 CST
Of course... now I see that this bug reporting is to the FIJI team... This probably belongs in Wayne's hands, instead...  Does he watch this list?  If I switch the "product" from FIJI to ImageJ... will it go to the right place?
I'll give it a whirl...
Comment 2 Wayne Rasband 2016-02-20 00:57:51 CST
This bug is fixed in the latest ImageJ daily build (1.50h4).