[Kde-java] KPanelApplet

KJ P kde-java@kde.org
Wed, 13 Feb 2002 11:57:17 +0000


Hello Richard

Yes looking back at the mailing list it was KSystemTray.  my bad.

I have been trying this with KJavaProcess.  Maybe that is not the way to go 
and I should try to create a jvm from native code.

The KJavaProcess is hanging me up for right now.  I have looked at the test 
examples and followed the code but to now avail.  I will try to look at 
another solution.  I guess it is time to go read about invoking the JVM.  
That and brushing up on my C++ skills plus learning the KDE and Qt libraries 
is burning a lot of candles :-)

I also noticed that for a TODO item in the bindings there was something 
about creating another process like kdeinit called kdejavainit.  Is that 
ongoing?

The DCOPClient in java is killing me as well.  I am not getting the response 
type and data back.  I can send to a DCOP interface as long as I am not 
expecting back data.  There is also a TODO item on this as well.  I can get 
the type and data back using the javadcop library and compiling agains the 
Client, DCOPRef, Response classes.  I just can not parse the DREF objects.  
Listing all the processes from a byte data is fine as long as there is a 
len:data associated in the byte array returned.  A little cumbersome to use 
in my opinion.  Maybe I should not be looking at this part because they are 
not finished?

Thanks for the answers.

Kenneth


>From: Richard Dale <Richard_Dale@tipitina.demon.co.uk>
>Reply-To: kde-java@kde.org
>To: kde-java@kde.org
>Subject: Re: [Kde-java] KPanelApplet
>Date: Wed, 13 Feb 2002 11:33:40 +0000
>
>On Wednesday 13 February 2002 9:11 am, KJ P wrote:
> > Hello
> >
> > Has anybody had any success in creating a KPanelApplet using the
> > javabindings.  Have tried multiple ways now but can not get it to dock 
>to
> > Kicker.
> >
> > Any and all help would be appreciated.  It would be great to have a 
>working
> > example of this for the bindings.
> >
> > I think I remember a month back that someone was playing around with 
>this.
> > Checking back on the mailing list Richard said that he had some success.
>No, only the KSystemTray class works at the moment. KPanelApplet needs more
>callbacks to work properly. Also I think panel applets need to be built as 
>a
>special sort of project in C++ - it might need a C++ stub to work, which
>would start the jvm and interface with the C++ 'outside world'. Then 
>KDevelop
>3 could have a panel applet project template, that would simplify all this.
>
>So getting all that working is a project in itself, but all possible..
>
>-- Richard
>_______________________________________________
>Kde-java mailing list
>Kde-java@mail.kde.org
>http://mail.kde.org/mailman/listinfo/kde-java




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com