NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1960 (new defect)

Opened 2013-07-18T13:42:36-05:00

Last modified 2013-07-18T15:35:17-05:00

Title of HistogramPlot dialog does not update

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b10-compatibility
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1342


Recently the HistogramPlot plugin was changed from a Swing plugin to a generic IJ2 plugin. In the process one nice feature was lost. For a multichannel image you used to be able to select the channel button at the bottom of the dialog and the title of the dialog would be updated to reflect which channel was being displayed. This no longer works in the new version. There is code in place to do it but it is ineffectual. Determine why and fix.

Change History

comment:1 Changed 2013-07-18T15:35:17-05:00 by bdezonia

  • Blocking 1342 added; 1457 removed
  • Milestone changed from imagej2-b8-analysis to imagej2-b10-compatibility

This is an issue where the SwingInputHarvester assumes you'll never update any attributes of an existing dialog. The SwingInputHarvester could be modified so that it tied together the Module and the SwingDialog. Thus a Module would be able to update the SwingDialog when its title changes (for example). Deferring this ticket to a later beta. In the meantime I have disabled title setting code in HistogramPlot with a note explaining why.