"Java to have it own windowing system"

Hmmmm ... Well I think it needs to write a some new API calls like below:

  void  java.awt.Frame.iconifyWindow()
    "   java.awt.Frame.deiconifyWindow()
    "   java.awt.Frame.raiseWindow()
        java.awt.Frame.lowerWindow()
        java.awt.Frame.raiseToFrontWindow()
        java.awt.Frame.lowerToBackWindow()

    int java.awt.Frame.getStackingOrder()

Non of these programmatics exists (yet) to support the native window manager.

Peter

______________________________ Reply Separator _________________________________
Subject: Re: Non mofit AWT.
Author:  memmel ([EMAIL PROTECTED]) at lon-mime
Date:    04/04/99 13:21


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




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to