Posted by
David Webster on
Dec 05, 2009; 4:48pm
URL: http://imagej.273.s1.nabble.com/ImageJ-development-involvement-contributions-tp3690030p3690085.html
All,
1. Why is it so important to convert from AWT to Swing?
2. Will the conversion help, hinder, or not affect users vs. developers. If
it affects users negatively, maybe it's not worth it.
3. I've notice from these comments that Swing portability seems to be an
issue. From my experience, I find that the portabilty of ImageJ and Java is
a big plus. If you've ever tried to get openCV compile and link you know
what I mean.
4. I've had experiences with JFrames where they appear to have some
threading problems. That is sometimes they would get displayed before my
program was done add'ing components to them. This is very undesirable.
End of Diatribe
David Webster
On Sat, Dec 5, 2009 at 7:51 AM, Raymond Martin <
[hidden email]> wrote:
> Hi,
>
> > > In running that plugin I have discovered a typical problem that occurs
> > > in Java GUI applications, that of the GUI blocking during long running
> > > processes. I have solved this in other GUI applications I work on by
> > > using a specific threading library, Foxtrot(BSD license), that enables
> > > the use of both synchronous and asynchronous threads in flexible ways.
> > > SwingWorker can also be used to prevent the GUI freeze, but is not as
> > > flexible (license?).
> > >
> > > Would adding this dependency be acceptable for the problem it solves?
> >
> > We usually prefer just to use threads.
>
> You can, but using one of these solutions amounts to the same thing without
> the work. These libraries just wrap threading code you would end up having
> to
> write anyway, and then some. So why bother trying to manage threads when
> someone else has done specific (high-quality) work to handle it properly?
>
> > > Other than that, I have not run into any serious problems converting to
> > > Swing yet. Since the potential for problems is believed to rest with
> > > supporting plugins, would ask others to please point out, if they can,
> > > exactly which plugins gave problems in past efforts to do what I am
> > > attempting.
> >
> > Maybe you can provide your version so people can actually test out? The
> > most problems are actually with closed-source cannot-give-away plugins,
> > after all.
>
> Where can I post it for general access?
>
> Regards,
>
> Raymond
>