Thread: [Java-gnome-developer] architecture question
Brought to you by:
afcowie
From: Cam B. <ca...@gm...> - 2006-05-01 00:06:19
|
Hello; This sounds cool and nifty, but do we have to run with gcj, or can we use sun's stock jvm??? I tried a basic example, and it did not go well, so I am asking. I found libglade-java while searching for an gui builder for java. all of them were buggy, slow, and I did not like them. There are some visualization libraries that I use that are dependent on awt, and these did not compile well with GCJ, so if it is possible to use libglade-java without these, it would be great! Thanks in advance for any recommendation/ideas/help. -C.B. |
From: Remy S. <rem...@gm...> - 2006-05-01 02:38:58
|
I think I screwed something up, I hope I'm not sending this a second time t= o the list. ------------------- What exactly went wrong when you tried with Sun's VM? What distro are you on? What is the version number of the packages you are using? Please provide more detailed information as applicable. Feel free to drop b= y our irc channel in #java-gnome on irc.gimp.net to ask for help directly. Regards, Rem On 4/30/06, Cam Bazz <ca...@gm...> wrote: > > Hello; > > This sounds cool and nifty, but do we have to run with gcj, or can we > use sun's stock jvm??? > I tried a basic example, and it did not go well, so I am asking. > > I found libglade-java while searching for an gui builder for java. all > of them were buggy, slow, > and I did not like them. > > There are some visualization libraries that I use that are dependent on > awt, and these did not > compile well with GCJ, so if it is possible to use libglade-java without > these, it would be great! > > Thanks in advance for any recommendation/ideas/help. > > -C.B. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |
From: Andrew C. <an...@op...> - 2006-05-01 03:52:57
|
On Mon, 2006-05-01 at 03:06 +0300, Cam Bazz wrote: > This sounds cool and nifty, but do we have to run with gcj, or can we > use sun's stock jvm??? It works in both. In fact, it's the other way around - it is considerable effort to build the parallel shared libraries suitable for use by GCJ in addition to building the Java classes and necessary JNI libraries that go with a typical binding. > I found libglade-java while searching for an gui builder for java. To be precise, libglade-java is a Java language binding around GNOME's LibGlade library which allows you to instantiate Windows and Dialogs at runtime based on UI descriptions created in the Glade interface designer. ... but yes, using libglade-java and Glade does indeed give you a GUI builder. Glade was originally a prototype builder which created stubs in C which you could then implement, but LibGlade was developed to do it dynamically at runtime, which is very cool - and widely used throughout GNOME. > There are some visualization libraries that I use that are dependent on > awt I'm not sure how well GTK and AWT will play together. There was a conversation in #classpath on freenode the other day to the effect that because both would have to talk to the X server simultaneously the answer was "not very well". > so if it is possible to use libglade-java without > these, it would be great! libglade-java is a tool to use when creating GTK applications, not really anything to do with using libraries built with AWT. On the other hand, porting those libraries to use GTK (via java-gnome's libgtk-java and perhaps cairo-java underneath) shouldn't be too hard and would be a terrific contribution to the community at large. AfC Sydney -- Andrew Frederick Cowie Managing Director Operational Dynamics Consulting Pty Ltd http://www.operationaldynamics.com/ Management Consultants specializing in strategy, organizational architecture, procedures to survive change, and performance hardening for the people and systems behind the mission critical enterprise. Worldwide: Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |
From: Tom T. <tr...@re...> - 2006-05-01 15:36:02
|
>>>>> "Andrew" == Andrew Cowie <an...@op...> writes: Andrew> I'm not sure how well GTK and AWT will play together. There was a Andrew> conversation in #classpath on freenode the other day to the effect that Andrew> because both would have to talk to the X server simultaneously the Andrew> answer was "not very well". Yeah -- this is actually a problem unique to the free VMs because they use Gtk to implement AWT. The use of Gtk in AWT and the use of Gtk in SWT clash, causing crashes :-( Tom |
From: Andrew O. <ove...@re...> - 2006-05-01 16:07:30
|
* Tom Tromey <tr...@re...> [2006-05-01 11:42]: > >>>>> "Andrew" == Andrew Cowie <an...@op...> writes: > > Andrew> I'm not sure how well GTK and AWT will play together. There was a > Andrew> conversation in #classpath on freenode the other day to the effect that > Andrew> because both would have to talk to the X server simultaneously the > Andrew> answer was "not very well". > > Yeah -- this is actually a problem unique to the free VMs because they > use Gtk to implement AWT. The use of Gtk in AWT and the use of Gtk > in SWT clash, causing crashes :-( I heard that Sun's Gtk LAF has the same problem. Andrew |
From: Sandor Bodo-M. <sbo...@gm...> - 2006-05-01 18:59:47
|
On 01 May 2006 09:27:39 -0600, Tom Tromey <tr...@re...> wrote: > > >>>>> "Andrew" =3D=3D Andrew Cowie <an...@op...> write= s: > > Andrew> I'm not sure how well GTK and AWT will play together. There was a > Andrew> conversation in #classpath on freenode the other day to the effec= t > that > Andrew> because both would have to talk to the X server simultaneously th= e > Andrew> answer was "not very well". > > Yeah -- this is actually a problem unique to the free VMs because they > use Gtk to implement AWT. The use of Gtk in AWT and the use of Gtk > in SWT clash, causing crashes :-( > > Tom > > A while back i just wished that i could mix somehow the gnu classpath and java-gnome in the sense that i can manipulate the same Gtk widget from two different API - awt/swing from once and java-gtk from other. If Gnu classpath is relying on Gtk - would it be sensible to export an interface to the underlying Gtk widgets to make it more usable with swt and java-gnome. Of course this would mean that it has to extend the java specs .... Just my 2 cent for this topic Sanyi PS - i managed to mix swing with java-gnome, but i needed to restore the X IO error handlers of swing - otherwise hard crashes happened. |