classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SWING at OJE


From: Artur Biesiadowski
Subject: Re: SWING at OJE
Date: Mon, 05 Feb 2001 22:11:15 +0100

"Rolf W. Rasmussen" wrote:

> Now, the Xlib peer implementation is built on basic Xlib functionality.
> This means that it doesn't have any components, just simple graphic
> primitives. So I would need to implement such components directly in
> Java instead of relying of native peers. This is exactly what Swing is. I
> implemented some basic Swing components (label, button) and created
> loop-back peers for AWT that utilized the Swing implementation to create
> heavyweight AWT components.

Have you considered skipping Xlib entirely ? There are some projects
that implement X protocol in java, connecting to X server through net. I
know it is more work to do, but I suppose that performance improvement
can be quite big... and you do not have to choose between CNI and JNI.
This would allow for pure java AWT implementation, which would leave
native dependency for entire core lib to very small set of libs - libc
of course, maybe libz (but there is a pure-java zip project going on) -
anything else ?

Do you think it would be possible to use freetype for java2d font
rendering ?


Artur



reply via email to

[Prev in Thread] Current Thread [Next in Thread]