linking a java class and a .so library with GCJ

Radu Racaru radu.racaru@gmail.com
Fri Mar 11 14:05:00 GMT 2005


Other that using AWT/Swing, SWT does a great job at this,
tried and tested on windows by me.

Getting a tray icon is really trivial and compiles straight to exe
with http://thisiscool.com/gcc_mingw.htm (3.4 version)

Regards,
Radu


On Fri, 11 Mar 2005 18:20:07 +0100 (CET), Alban Taraire
<alban.taraire@netk5.com> wrote:
> > The bad news is that "tray.jar" uses
> > "sun.awt.EmbeddedFrame", which is an
> > *internal* Sun class (that even Sun doesn't
> > encourage anyone to use) that will very
> > likely never be in libgcj.
> >
> > If possible, you should ask the provider
> > of this JAR to use standard JRE classes.
> 
> I see,
> 
> according to what Michael says, i could possibly ask the guys at jdic to
> use the GNU EmbeddedWindow, or try to do it myself, since the code is
> available...
> Not so sure on how doable it is for me, but it might worth to try...
> Having a tray icon isn't really java friendly, but for the user it's a
> nice feature !
> 
> I'll try this week-end, keep you informed in case i end with something
> workable.
> 
> Thanks to you and Michael for the help :)
> 
> Alban
>



More information about the Java mailing list