java-gnome-developer Mailing List for The java-gnome language bindings project (Page 23)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: John R. <Joh...@Su...> - 2006-10-24 16:53:03
|
Andrew this is great. I'll be building this on OpenSolaris nevada build 48 and Gnome 2.16 over the next week. Will keep you posted with how it goes, but having all the autotools patches in makes my life a lot easier :) Many thanks, JR Andrew Cowie wrote: > This release series, collectively called java-gnome 2.16.0, consists of > updates to all the libraries in the java-gnome family. > > glib-java 0.4.0 * > cairo-java 1.0.6 * > libgtk-java 2.10.0 * > libgnome-java 2.12.6 * > libglade-java 2.12.7 * > libgconf-java 2.12.5 * and > libvte-java 0.12.2 * > > One notable feature of this release is that all the org.gnu.glib code > common to all the bindings is now actually in glib-java where it > belongs. Note that glib-java and libgtk-java have both moved up a minor > version reflecting this migration. > > The other notable contribution was a large set of patches from John Rice > of Sun Microsystems fixing up the autotools infrastructure so that > java-gnome will build and install on Open Solaris! > > There are still a number of outstanding bugs that have been nagging > certain developers; expect to see a java-gnome 2.16.1 shortly if fixes > for those problems present themselves. Likewise, libeds-java still needs > to be caught up; we'll release 0.6.0 of that when Sean has time. > > AfC > Sydney > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Andrew C. <an...@op...> - 2006-10-24 05:01:13
|
This release series, collectively called java-gnome 2.16.0, consists of updates to all the libraries in the java-gnome family. glib-java 0.4.0 * cairo-java 1.0.6 * libgtk-java 2.10.0 * libgnome-java 2.12.6 * libglade-java 2.12.7 * libgconf-java 2.12.5 * and libvte-java 0.12.2 * One notable feature of this release is that all the org.gnu.glib code common to all the bindings is now actually in glib-java where it belongs. Note that glib-java and libgtk-java have both moved up a minor version reflecting this migration. The other notable contribution was a large set of patches from John Rice of Sun Microsystems fixing up the autotools infrastructure so that java-gnome will build and install on Open Solaris! There are still a number of outstanding bugs that have been nagging certain developers; expect to see a java-gnome 2.16.1 shortly if fixes for those problems present themselves. Likewise, libeds-java still needs to be caught up; we'll release 0.6.0 of that when Sean has time. AfC Sydney --=20 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: Remy S. <rem...@gm...> - 2006-10-13 10:06:07
|
Sending to the list since I always forget to do so when replying. ----------------------------------- Hi Sheldon, > I am working towards integrating glade in Eclipse for developing > mobile GTK applications. I have 2 solutions 1. to write a java wrapper for > glade that can be used in eclipse. 2. Is it possible to use the java-gnome > library to perform such an integration. For 1, I think that's what JGlade's trying to accomplish (http://jglade.sourceforge.net)? Since I don't really follow that project, I don't know how mature it is and whether it's still under development, but you may want to take a look at it anyway. For 2, I recall trying this myself a while ago, but things didn't quite work out if I recall correctly. I don't remember if it crashed, but it didn't look like something easy to debug, so I just dropped the issue and haven't tackled it again since. Regards, Rem |
From: Sheldon D. <she...@gm...> - 2006-10-13 09:54:43
|
Hi, I am working towards integrating glade in Eclipse for developing mobile GTK applications. I have 2 solutions 1. to write a java wrapper for glade that can be used in eclipse. 2. Is it possible to use the java-gnome library to perform such an integration. Regards, Sheldon |
From: Andrew C. <an...@op...> - 2006-10-11 12:38:28
|
On Mon, 2006-10-09 at 23:53 +0200, Marek Piechut wrote: > I am trying to get content from gtk.Entry which has setVisible(false) > and what i get by using getText() method is always an empty String. > I'm trying to get content from the configuration dialog and can get > content from all Entries but the "invisible" ones. Is there any special > way to get text from them? Or other way to get something secret from > user without echoing?=20 I was able to duplicate this. Would you be so kind as top open a bug please? [Bugs are always welcome for "it should work but doesn't"] A workaround is to use the Entry's getText() method, rather than the EntryEvent's getText(). AfC Sydney |
From: Robert B. <Rob...@cc...> - 2006-10-10 19:15:47
|
I will be out of the office starting 2006.10.03 and will not return until 2006.10.17. I will respond to your message when I return. |
From: Marek P. <mc...@o2...> - 2006-10-09 21:53:28
|
Hello. I am trying to get content from gtk.Entry which has setVisible(false) and what i get by using getText() method is always an empty String. I'm trying to get content from the configuration dialog and can get content from all Entries but the "invisible" ones. Is there any special way to get text from them? Or other way to get something secret from user without echoing?=20 Thanks. --=20 Please encrypt every mail you can. Privacy is your right. Don't let anyone take it from you. Look at GnuPG or PGP and ask for my key. |
From: Emmanuel R. <emm...@gm...> - 2006-09-19 18:13:08
|
Pablo Martín wrote: > Hi all, > > I'm developing an application under eclipse with an interface designed > on glade, when I generate the .jar file into workspace project, I can > run it without problems, but, when I generate the .jar file out of the > workspace and I run it, I obtain a FileNotFounException when program > try to obtain the .glade file: > > ... > glade = new LibGlade("./gui/project.glade"), this) > ... > > > > It looks like java can`t read the file location when it's into a jar > File, how should I define this file location to read it correctly? > Hi Pablo, If you want to include the project files into a Jar file, you must load the files through a class loader. The trick is to use a class which you know to be bundle into the jar, basically any one of the classes in your project. Then use the very same class loader that loaded your class to find the glade file, or any other resource in the jar. Here's what you can do in order to fix your problem: // Find the resource pointing to the glade file through the same class loader used for this project's code // NOTE the folder 'gui' was removed see below for a reason InputStream stream = this.getClass().getClassLoader().getResourceAsStream("project.glade"); // Load the glade file through a resource glade = new LibGlade(stream, this, null); Now, if you look carefully the path of the resource doesn't include the name of the folder 'gui' anymore. I did this in order to have eclipse and the jar play nicely with each other. The problem is that if I want to run the code without any modifications from Eclipse I have to tell him where to find the project.glade file. This can be done by adding the gui folder into the classpath of the project. There are two things that you must do now: 1) Pack the file project.glade into the jar without the folder gui. 2) Add the folder gui to the classpath of Eclipse: Go into Eclipse Menu -> Project -> Properties -> Java Build Path -> Libraries -> Add Class Folder and choose 'gui' as a folder. Now you should be able to run the code both from Eclipse and a jar without any modification. Emmanuel Rodriguez |
From: <pab...@ho...> - 2006-09-19 13:53:28
|
<html><div style='background-color:'><DIV class=RTE>Hi all,</DIV> <DIV class=RTE> </DIV> <DIV class=RTE dir=ltr>I'm developing an application under eclipse with an interface designed on glade, when I generate the .jar file into workspace project, I can run it without problems, but, when I generate the .jar file out of the workspace and I run it, I obtain a FileNotFounException when program try to obtain the .glade file:</DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=RTE dir=ltr>...</DIV> <DIV class=RTE>glade = new LibGlade("./gui/project.glade"), this)</DIV> <DIV class=RTE>...</DIV> <DIV class=RTE> </DIV> <DIV class=RTE> </DIV></BLOCKQUOTE> <DIV class=RTE dir=ltr>It looks like java can`t read the file location when it's into a jar File, how should I define this file location to read it correctly?</DIV> <DIV class=RTE dir=ltr> </DIV> <DIV class=RTE dir=ltr>Thanks.</DIV> <DIV class=RTE dir=ltr>Pablo.</DIV></div><br clear=all><hr>Tu horóscopo diario, semanal y gratuito. <a href="http://g.msn.com/8HMBESES/2728??PS=47575" target="_top">Cartas, tarot y predicciones en MSN Horóscopo</a> </html> |
From: Andrew C. <an...@op...> - 2006-09-19 05:10:12
|
Today we did a point release to push out bug fixes to the stable releese series of our libraries. java-gnome 2.14.3 ----------------- glib-java 0.2.6 cairo-java 1.0.5 libgtk-java 2.8.7 * libgnome-java 2.12.5 * libglade-java 2.12.6 * libgconf-java 2.12.4 libvte-java 0.12.1 libeds-java 0.5.1 Huge props go to the guys at Sun who did the example code cleanups. Great contribution! For futher details, see http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/NewsTwoFourteenThre= e=20 and feel free to edit that item with additional details. AfC Sydney --=20 Andrew Frederick Cowie Technology strategy, managing change, establishing procedures, and executing successful upgrades to mission critical business infrastructure. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Emmanuel R. <emm...@gm...> - 2006-09-19 04:23:53
|
Andrew Cowie wrote: > On Mon, 2006-09-18 at 21:09 +0200, Kyrre Ness Sjobak wrote: > >> Doesn't Azureus have a tray icon? How do they do it? >> Azureus uses SWT which has support for a tray icon. Swing also has support for a tray icon. It's not impossible to add support for the tray icon. The problem is that java-gnome doesn't have a lot of developers, which is not the case of the toolkits that I listed above which are backed up respectively by IBM and SUN. Thats why some GTK widgets are lacking a mapping in java-gnome. -- Emmanuel Rodriguez |
From: Andrew C. <an...@op...> - 2006-09-19 04:03:59
|
On Mon, 2006-09-18 at 21:09 +0200, Kyrre Ness Sjobak wrote: > Doesn't Azureus have a tray icon? How do they do it? "Doing it" technically isn't the problem. It's "doing" the implementation that takes work. In the current 2.x series Java bindings, it takes considerable marginal effort, say, O(10N) to add N of API.* As with any open source project, it is what people contribute, so hopefully someone will contribute the work who needs it. My expectation is that in the future, adding API will be trivial, of the complexity O(1), which is actually the justification for investing in that work. AfC Sydney *: People through "Order N" around all the time; I get the sense that many don't really know what they're talking about - ie, I don't. I would have thought that Order (2N) is generally equal to Order (N), but perhaps it's not quite as logarithmic as I expected. Anyway, the point is, right now our bindings take a lot of manual labour to add shit. |
From: Andrew C. <an...@op...> - 2006-09-18 14:35:05
|
On Mon, 2006-09-18 at 15:40 +0200, S=F8ren Mathiasen wrote: > What's the status of the tray icon implementation ? Remy has gone to China and they've censored him from working on open source projects (!), so he won't be able to finish the work he started.=20 See http://bugzilla.gnome.org/show_bug.cgi?id=3D317700 and http://bugzilla.gnome.org/show_bug.cgi?id=3D330432 If someone else finishes up the patch, we can certainly get it into libgtk-java 2.10.x Otherwise, it should "just be there" in java-gnome 4.0 as a consequence of generating code off of the .defs files. AfC Sydney |
From: M. <li...@so...> - 2006-09-18 13:33:34
|
Hi, What's the status of the tray icon implementation ? Regards, Soren |
From: Andrew C. <an...@op...> - 2006-09-18 07:58:44
|
On Sun, 2006-09-17 at 15:54 +0200, Stefan Prelle wrote: > Hi all, >=20 > I am trying to build a splashscreen that shows the process while the > application is loading data. I found that after a short time, no > progress changes are visible while the loading continues. Worker thread. http://research.operationaldynamics.com/projects/examples/dist/worker-4.tar= .gz [Incidentally, the events bug that the web page Emmanuel pointed at is long gone from java-gnome. We really need to rectify or ditch that wiki] [Also, I personally don't much care for the way we handle this problem - ie the CustomEvents(Runable) technique - but there won't be an appreciable change unless we make a significant architectural shift. Fingers crossed we can figure out a way to do it] AfC Sydney --=20 Andrew Frederick Cowie Technology strategy, managing change, establishing procedures, and executing successful upgrades to mission critical business infrastructure. http://www.operationaldynamics.com/ Sydney New York Toronto London |
From: Emmanuel R. <emm...@gm...> - 2006-09-17 21:00:03
|
Hi, I think that the problem is because you are accessing your widgets from your second thread. Only the event loop thread is allowed to manipulate the widgets. Take a look at the following page there is an explanation and some sample code. http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/MultiThreaded Stefan Prelle wrote: > Hi all, > > I am trying to build a splashscreen that shows the process while the > application is loading data. I found that after a short time, no > progress changes are visible while the loading continues. > > I broke my problems down to a simple test program that forks a thread to > change the progress and that waits a specific amount of time between two > changes. > > public class SplashTest { > > static ProgressBar bar; > static TextView text; > > //------------------------------------------------------ > public static void main(String[] args) { > Gtk.init(args); > > // Open a window with a progress bar and a text view. > Window window = new Window(); > VBox box = new VBox(false,5); > window.add(box); > bar = new ProgressBar(); > box.add(bar); > text = new TextView(); > box.add(text); > window.showAll(); > > // Now create progress changing thread > Thread thread = new Thread(new Runnable(){ > public void run() { > for (int i=0; i<=100; i+=10) { > System.out.println("Now "+i); > bar.setFraction(i/100.0); > bar.setText(i+"%"); > text.getBuffer().setText("Loaded "+i+"%"); > synchronized(this) { > try { > Thread.sleep(1000); > } catch (InterruptedException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > } > } > }}); > > thread.start(); > Gtk.main(); > } > } > > When I do run this program, the progress bar stops at 10 or 20 percent, > the text view stops at 0 or 10 percent. > If you reduce the waiting time between changes to a lower value - e.g. > 500ms - everything is fine. > > Any idea what is causing this? > > Regards, > Stefan > > > ------------------------------------------------------------------------- > 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 Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > |
From: Stefan P. <pr...@tz...> - 2006-09-17 13:55:30
|
Hi all, I am trying to build a splashscreen that shows the process while the application is loading data. I found that after a short time, no progress changes are visible while the loading continues. I broke my problems down to a simple test program that forks a thread to change the progress and that waits a specific amount of time between two changes. public class SplashTest { static ProgressBar bar; static TextView text; //------------------------------------------------------ public static void main(String[] args) { Gtk.init(args); // Open a window with a progress bar and a text view. Window window = new Window(); VBox box = new VBox(false,5); window.add(box); bar = new ProgressBar(); box.add(bar); text = new TextView(); box.add(text); window.showAll(); // Now create progress changing thread Thread thread = new Thread(new Runnable(){ public void run() { for (int i=0; i<=100; i+=10) { System.out.println("Now "+i); bar.setFraction(i/100.0); bar.setText(i+"%"); text.getBuffer().setText("Loaded "+i+"%"); synchronized(this) { try { Thread.sleep(1000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } }}); thread.start(); Gtk.main(); } } When I do run this program, the progress bar stops at 10 or 20 percent, the text view stops at 0 or 10 percent. If you reduce the waiting time between changes to a lower value - e.g. 500ms - everything is fine. Any idea what is causing this? Regards, Stefan |
From: Stefan P. <pr...@tz...> - 2006-09-16 22:06:26
|
Hi all, I am trying to get a non-rectangular window (showing a progress bar). =46rom searching around the web, I found hints that applying a Pixbuf of a PNG with an alpha channel and a mask to a GDK window (and disabling the decoration) does the trick (at least for the non-rectangular part). At least for regular GTK+ with newer X Servers. But when trying to follow these hints in the Java bindings, I am stuck after loading a Pixbuf or a Bitmap with the image. I don't know how to set the background of the org.gnu.gtk.Window and I don't know how to use a org.gnu.gtk.Window and place a GTK widget in it (if this is even possible). Can anybody give me an example here? I would really appreciate it. Regards, Stefan --=20 Stefan Prelle <pr...@tz...> |
From: Andrew C. <an...@op...> - 2006-09-14 03:50:27
|
Someone popped into #java-gnome the other day trying to figure out how to use CustomEvents to cause GUI actions to be taken from other threads. A long time ago I was working on something that needed a worker thread to do do the task at hand while updating a GUI window to show progress. Since that's when *I* learned how to use java-gnome's CustomEvents mechanism and since the question seems to come up a lot, I simmered that bit down into a simple example. If you want to see it you can grab http://research.operationaldynamics.com/projects/examples/dist/worker-4.tar= .gz and start with the file README. AfC Sydney =20 --=20 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. |
From: <pab...@ho...> - 2006-09-13 14:38:39
|
<html><div style='background-color:'><DIV class=RTE> <P>Helle everybody, I'm new developing gtk applications, </P> <P>I'm trying to add values to a ComboBoxEntry created with Glade, but I'm not be able to obtain it!</P> <P>Please, anyone can explain me how can i use this widget!!??<BR><BR></P> <DIV></DIV><FONT color=#000000></DIV> <DIV></DIV></FONT></div><br clear=all><hr>Busca a la vez en Internet, en directorios, en enciclopedias... <a href="http://g.msn.com/8HMBESES/2740??PS=47575" target="_top">Atrévete con el nuevo MSN Search</a> </html> |
From: Remy S. <rem...@gm...> - 2006-08-22 07:03:34
|
Hi, It doesn't appear like you have glib0.2.jar in your classpath. Please try adding it appending it it on and then try running your program again. Feel free to join the #java-gnome channel at irc.gimp.net for possibly speedier responses. Regards, Rem |
From: iamamoocow d. <lis...@ya...> - 2006-08-22 06:07:37
|
G'day, I've just installed java-gnome on my squeaky clean ubuntu 606 install. I did this via synaptic, and i didn't change any settings, repositries or anything. When I run my program, i get Exception in thread "main" java.lang.ClassNotFoundException: org.gnu.glib.Struct not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/j/projects/Jim/bin/,file:/usr/share/java/gnome2.12.jar,file:/usr/share/java/gtk2.8.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7) at java.lang.ClassLoader.loadClass(libgcj.so.7) at java.lang.ClassLoader.loadClass(libgcj.so.7) at java.lang.VMClassLoader.defineClass(libgcj.so.7) at java.lang.ClassLoader.defineClass(libgcj.so.7) at java.security.SecureClassLoader.defineClass(libgcj.so.7) at java.net.URLClassLoader.findClass(libgcj.so.7) at java.lang.ClassLoader.loadClass(libgcj.so.7) at java.lang.ClassLoader.loadClass(libgcj.so.7) at Test.Main.main(Main.java:12) Presumably org.gnu.glib.Struct lives inside /usr/lib/libglibjava-0.2.so (which is present on my system) I've done the path thingy: -Djava.library.path=/usr/lib/ I have played with java-gnome in the past and not had these issues (under fedora) Is this a .deb issue? with thanks --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. |
From: Andrew C. <an...@op...> - 2006-08-12 03:53:09
|
Hey there developers! As anyone who has used java-gnome knows, there are a number of areas where we're not as strong as we could be. That's no crime - the bindings *are* usable - and certainly no knock on the successive teams of people who have been hacking on the GTK and GNOME bindings since 1998. However, we do have a number of areas we need to clean up. There are non-trivial naming inconsistencies present in the mapping. There are glaring coverage omissions. Certain common elements are implemented inefficiently. This is all in no small part due to the fact that java-gnome has tracked GTK+ since the earliest days, and so you see evidence of the evolution of the Glib and GTK APIs instead of the nice clean interfaces you see today. And of course there was the java-gnome team's efforts to stay backwards compatible with the code that was already out there. Time to go to the next level. We're beginning a series of discussions on the java-gnome-hackers mailing list and on #java-gnome about these issues. If you want to contribute to shaping the outcome, please do join the list. A fair bit of conceptual work has been done in the past and so I'll be pointing out historical discussions that will be of interest. Several of us have also done a fair bit of the API redesign work, and excitement is creeping up. One thing that is really obvious, however, is that there is no way that we'll be able to preserve the existing API - indeed, fixing the inconsistencies is half the point of the effort. This message therefore also serves as the first formal advertisement of a forthcoming major API break. That's never easy for developers, but we're pretty sure that the end result on the other side will be more complete, more stable, and better performing. There will therefore likely be no java-gnome 2.18. The next version after the java-gnome 2.16.z release set will probably be called 4.0 to clearly signal the API change. Marginal improvements will continue to be accepted on the 2.y line as long as anyone wants to contribute them. 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: Josh H. <jos...@ho...> - 2006-08-10 00:05:21
|
Hello all, I posted here a few weeks ago asking about the java-gnome implementation of the cross-process widgets GtkPlug and GtkSocket. Thank you for the replies. Managed to get Java widgets embedded in a C interface by adding some constructors and glue to Plug and sending the windowIDs through a DatagramSocket; however, I am having troubles modifying this prototype to use the glib client_event/listener scheme built into gtk to handle callbacks. I have gone through the "create a new widget" tutorial and so far I can see three ways to possibly do this: 1. Create a new Widget in Java. An existing widget can be extended and its relative Event class type overridden to recognize a client_event. Unfortunately, I am not aware of any resources for creating a new widget in Java that can send a signal recognized by gtk+ in C. 2. Wrap the gtk+ client_message functions. The function gdk_event_send_client_message was modified to accept int arguments, casted to the correct types, and then wrapped. void java_gdk_event_send_client_message (int event, int winidint) { event = gdk_event_new (event); winid = (GdkNativeWindow)winidint; gdk_event_send_client_message (event, winid); } After calling this wrapped function in Java, the VM throws a segmentation violation in IA__gdk_event_send_client_message_for_display. I suspect this has to do with the default display. Is there a way I should be initializing this? 3. Create a new Widget in C and wrap it. I understand this involves calling the glib functions g_signal_new and g_signal_emit with user defined events; however, I can't seem to create a Java listener to catch the signal. Is there any easier way to handle the communication with these callbacks? Do any of these approaches make sense? Suggestions? Thanks, ~Josh Hope |
From: Leif <le...@te...> - 2006-08-07 18:37:18
|
Hi list, I am creating a small application with java-gnome which shall include a file list (like the nautilus list view). I would like to use icons for each file type, like nautilus and the file chooser dialog do. Could anyone give me hint how I can find out which icon is associated with which file type? Is there an icon registry or something in gnome? In the Google outback I found a function called "gnome_vfs_mime_get_icon", but I don't know if it does what I want and if I can access it from my Java application. Thanks and Bye, Leif |