[PATCH + help request] Java applets in Konqueror using purely Free Software

Bernhard Rosenkraenzer bero at arklinux.org
Mon Jul 4 19:44:51 BST 2005


On Monday 04 July 2005 20:01, Albert Astals Cid wrote:
> > The only remaining problem on the gcj side is that
> > frame.setUndecorated(true) causes an IllegalComponentStateException,
> > which can be worked around in KJASAppletStub (patch attached).
>
> Shouldn't that be fixed also at gcj? I mean is this really a instruction
> that should cause IllegalComponentStateException or is it a bug in gcj we
> workaround?

It's almost certainly a bug in gcj - but catching an exception can't hurt much 
even if it's caused by a buggy lib.

> Well Sun Java itself doesn't also integrate nicely with Qt/KDE so that is
> not a loss. Anyway any pointer to were to begin looking if anybody wants to
> implements that KDE/qt backed for Classpath.

In the classpath source (http://www.gnu.org/software/classpath/), the GTK peer 
is in the gnu/java/awt/peer/gtk, resource/gnu/java/awt/peer/gtk, 
native/jni/gtk-peer and could be used as a starting point.

I just found out one of the Kaffe guys is working on a Qt peer already (and 
says pretty much everything in the GTK peer is done wrong, so maybe it's not 
as good a starting point as it may look), but hasn't released any code yet.

I'll add another reply on the thread when I know more/have the code.

LLaP
bero




More information about the kde-core-devel mailing list