Re: [ROOT] Windows Graphics/GUI - RE: More on Graphics abstraction (was Re: [ROOT] Qt ROOT)

From: Brandon Kohn (blkohn@hotmail.com)
Date: Fri Oct 26 2001 - 21:42:14 MEST


Yes, it's arguably no more easy (or difficult) than any other tool, however,
it is one of the only ones that is truly platform neutral.  Thus the work is
more universal.  As to java being slow... perhaps for some things, but not
really noticable for normal GUI objects like browsers and histograms.
Especially if you are using JNI to run your algorithms in native code.
Theoretically, I think it is sound to have your GUI layer logically separate
from your 'algorithm' engines.  And the only information passed between the
engine layer and the GUI should be native types.  Finally, java is getting
faster all the time.  Anyhow, I think it is worth investigation.

Brandon
----- Original Message -----
From: "Fons Rademakers" <Fons.Rademakers@cern.ch>
To: "Brandon Kohn" <blkohn@hotmail.com>
Cc: "Peter Lipa" <lipa@nsma.arizona.edu>; <roottalk@pcroot.cern.ch>
Sent: Friday, October 26, 2001 1:10 AM
Subject: Re: [ROOT] Windows Graphics/GUI - RE: More on Graphics abstraction
(was Re: [ROOT] Qt ROOT)


> Hi Brandon,
>
>   I've used Swing, it is not more easy to use as any other modern GUI
> toolkit, and in addition it is very slow. Further, interfacing Java and
C++
> via JNI is a pain.
>
> Cheers, Fons.
>
>
> Brandon Kohn wrote:
> >
> > Why hasn't java/swing been considered for a GUI layer?  JNI is quite
good,
> > and programming java GUIs is a joy.  Seems to me that this is the most
> > obvious platform neutral answer to the gui problem (provided all
algorithms
> > are implemented in native c and called via JNI). Are there reasons that
Java
> > has not been considered?
> >
> > Brandon
> >
>
>
> --
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET