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 #809 (new enhancement)

Opened 2011-10-10T11:03:50-05:00

Last modified 2012-06-08T11:59:19-05:00

SwingInputHarvester generalization for SDI/MDI

Reported by: gharris Owned by: curtis
Priority: minor Milestone: imagej-2.5.0
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Currently, SwingInputHarvester does SwingUtils.showDialog(...), doesn't use DialogPrompt.

Change History

comment:1 Changed 2012-01-26T12:44:50-06:00 by curtis

  • Owner changed from gharris to curtis

comment:2 Changed 2012-06-08T11:59:19-05:00 by curtis

It is tricky because the UserInterface.dialogPrompt method does not allow passing an arbitrary UI component (since in general, we would need to use Object for that). We need a way to pass the JPanel to a UI-flexible (but not totally UI-agnostic) method that works with both SDI and MDI Swing UIs.