Jeff Galyan wrote:
> AWT on top of Swing sounds pretty interesting...
>
> Netscape's IFC basically do everything on top of a Panel (faster than
> Swing for many uses), so that's another alternative.
Way back when I started with the IFC on NeXT's(RIP) Display postscript
engine.
Then JFC came out. IFC is much faster so I think one day JFC will be there.
I'n the long run the JFC is a better toolkit and is being actively developed.
THe IFC is still under a restrictive license and is not being actively
developed.
IT would be nice if Netscape released the IFC under LGPL. THis would Help
Classpath a lot on
a JFC implementation.
The use of a Panel in IFC is not the reason for it being fast IMHO. I haven't
put Optimize It on JFC
but I suspect there problem is the event loop get's stalled in real
applications.
Also maybe drawing requests/mouse event's are not getting correctly coalecsed.
Nothing that can't be fixed in time.
The next thing I did was write a driver in Java for the CirrusLogic 5430 and
got IFC then JFC running on it.
It wasn't much slower than Swing on top of a Windowing system and this was on
a fully interpeted.
I unrolled the blit loops and it helped a lot. I would not suggest you try
that at home but it showed me that
it was feasible with todays jit's its proabably usable.
If Sun ever decided to really release Hotspot.....
Swing + Hotspot+ low level graphics lib is probably faster than todays native
windowing systems.
But I don't think Sun wants Java to have it own windowing system.
IMHO
Mike
>
>
> --Jeff
>
> Michael Emmel wrote:
> >
> > Ulli Kortenkamp wrote:
> >
> > > >>>>> "Jeff" == Jeff Galyan <[EMAIL PROTECTED]> writes:
> > >
> > > Jeff> That's a question you should pose to Sun. Matthew Panetta
> > > Jeff> wrote:
> > > >> Given that there are a few good windowing toolkit out now for
> > > >> linux (GTK, QT, JX) could the JDK be proted to these instead of
> > > >> useing mofit?
> > >
> > > I did this, since I asked for a non-motif-based AWT some month
> > > ago. The answer by Sun was: It exists. It is called Swing.
> >
> > And I have rewritten the AWT to run on top of Swing so I don't use Motif.
> >
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]