RE: [Java-gnome-developer] Gnome Library
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2003-06-04 10:49:53
|
We might be able to assist you in two ways. 1) If you do decide to compile java-gnome on Win32 we will try to offer all of the support we can. There are others in the community that have expressed interest in this and they might be willing to contribute. 2) If you find java-gnome classes that need to be enhanced to support better drawing features please post those requests to the list. We will make every attempt to enhance the bindings. -Jeff -----Original Message----- From: Gabriele Erba [mailto:nz...@ga...] Sent: Wednesday, June 04, 2003 5:07 AM To: java-gnome-developers; fer...@lo... Subject: Re: [Java-gnome-developer] Gnome Library Hi Fernando, Thanks for all. I want my application, a GPL P2P Chat with the possibility to live draw ( unfortunatly only in italian ), runs on all system (at the moment I use Swing but look&feel is awful). So I want port my application to SWT, but I want to expand the feature of my application when it runs on gnome for a better system integration. After your answer I think that I have two possibility: 1) Try compiling java-gnome using the GTK port for Win32 ( I try GIMP on windows and it's work very well), so it work on linux, unix and win system; in Italy there are few Mac system ! 2) Using only SWT ( I'm not able to exapand SWT, I'm a 23 years old student of software engineering). > Gabriele, > > > Perhaps I wasn't clear about my question. > > So I try to explain better my question. > > Is it possible to use java-gnome for interact with gnome and SWT for draw > > the GUI in the same application ? > > Altough this should be possible, I wouldn't recomend. SWT and GTK have very > different object models and expect different responsibilities regarding > releasing OS and toolkit resources like handles and bitmaps. It would be very > hard to mix both APIs and have a working, stable application. > > If you need something from Gnome or GTK that SWT won't provide, you have two paths: > > 1. Create a new SWT widget exposing the desired functionality. This may be > trivial but may also be a chalending task. Later think about how your new > widget would be implemented on other SWT targets like Win32, Motif or MacOS. > > 2. Drop SWT at all and use only Gnome and GTK widgets. Later if you need Win32 > support you may try compiling java-gnome using the GTK port for Win32. I think > nobody has done so, but this will happen sooner or later, as Gimp and other big > GTK apps are working on Win32 just fine. > > The reverse is also true: expanding GTK to provide equivalent widgets and the > ones you like on SWT or dropping GTK (and Gnome) altogether. > > > []s, Fernando Lozano > > ---- Gabriele Erba Audendum est: fortes adiuvat ipsa Venus (Tibullo) www.gabriele-erba.it ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ java-gnome-developer mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |