java-gnome-developer Mailing List for The java-gnome language bindings project (Page 30)
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: Andrew C. <an...@op...> - 2006-02-02 04:43:23
|
On Wed, 2006-01-02 at 14:47 +0100, Antonio Riva wrote: > I would like to build an applet application that minimize the current > maximized windows. Is there a way to do this with java-gnome? Not at the moment. Your interest seems to break down into two tasks: 1. Write an applet 2. Access all open windows and command them to minimize. (I'm actually wondering if you're mis-using the term "minimize" here; the opposite of Window.maximize() is Window.unmaximize(), aka restore. To minimize is to iconify out of view) The second part is tricky because it implies talking to the window manager and using it to command all open windows (not just the ones in your program) to minimize. As for the first part, I spent quite a bit of time at linux.conf.au last week talking to Davyd Madeley (gnome-applet maintainer) about applets and it turns out a) they are really rather complex due to the fact that the panel has bonobo get a factory which then creates instances, and b) the applet library & API really needs a rewrite, as they know language bindings around it has been really tough. I have some thoughts on the topic (look for a blog posting from me sometime this week on the subject) but the immediate answer is that we don't have a language binding around "lib panel applet" at this time. However if you want an applet to minimize all windows, there already is one - the "Show Desktop" applet. If you know about that and it doesn't quite do what you want, you may find a few lines of C code may get you your heart's desire... or you could join java-gnome-hackers and help us write a libpanelapplet-java binding :) AfC Sydney -- Andrew Frederick Cowie A management consultant helping IT people, if you can believe it... Website: http://www.operationaldynamics.com/ Blog: http://research.operationaldynamics.com/blogs/andrew/ GPG key: 0945 9282 449C 0058 1FF5 2852 2D51 130C 57F6 E7BD |
From: Antonio R. <ant...@gm...> - 2006-02-01 13:54:32
|
I would like to build an applet application that minimize the current maximized windows, Is there a way to do this with java-gnome? Antonio |
From: Andrew C. <an...@op...> - 2006-02-01 11:31:26
|
On Wed, 2006-01-02 at 09:52 +0100, Alberto Cabello Sanchez wrote: > /home/alberto/downloads/gnome-java/libgnome-java-2.8.2/src' ^^^^^^^^^^^^^^^^^^^ libgnome-java 2.8.2 is *really* ancient. The versions you should be using alongside libgtk-java 2.8.x are: glib-java 0.2.3 cairo-java 1.0.2 libgtk-java 2.8.3 libgnome-java 2.12.1 libglade-java 2.12.2 libgconf-java 2.12.1 See http://research.operationaldynamics.com/linux/java-gnome/ for the current release tarballs. AfC Sydney |
From: Alberto C. S. <al...@un...> - 2006-02-01 08:52:56
|
Hi, I just downloaded all the stuff to build libglade-java on Slackware Linux= 10.2=20 plus Dropline and I can't get rid of this error when building libgnome-ja= va or=20 libglade-java: ./configure: line 1541: JG_COMMON: command not found and make says: make -C src all make[1]: Entering directory `/home/alberto/downloads/gnome-java/libgnome-= java-2.8.2/src' make[1]: INSTALL@: Command not found make[1]: *** [../lib] Error 127 make[1]: Leaving directory `/home/alberto/downloads/gnome-java/libgnome-j= ava-2.8.2/src' make: *** [distro] Error 2 I already built libgconf-java-2.8.2, glib-java-0.2.1, cairo-java-1.0.1 an= d libgtk-java-2.8.1 and checked the list archives, but I have not been able= to find a clue about this. Any help will be appreciated. Thanx --=20 ----------------------- Alberto Cabello S=E1nchez al...@un... |
From: Sandor Bodo-M. <sbo...@gm...> - 2006-01-27 14:32:48
|
I "ported" the example code found at http://gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28 t= o libgtk-java. To be able to run the code you need a patch from bugzilla http://bugzilla.gnome.org/show_bug.cgi?id=3D328171 which exposes a widgets allocation size. import org.gnu.gdk.Color; import org.gnu.gdk.GdkCairo; import org.gnu.gtk.Allocation; import org.gnu.gtk.DrawingArea; import org.gnu.gtk.Gtk; import org.gnu.gtk.Window; import org.gnu.gtk.event.ExposeEvent; import org.gnu.gtk.event.ExposeListener; import org.gnu.gtk.event.LifeCycleEvent; import org.gnu.gtk.event.LifeCycleListener; public class EggClockFace extends DrawingArea implements ExposeListener { public EggClockFace() { super(); this.addListener(this); } public boolean exposeEvent(ExposeEvent event) { GdkCairo cr =3D new GdkCairo(this.getWindow()); cr.rectangle(event.getArea()); cr.clip(); draw(cr); return false; } private void draw(GdkCairo cr) { double x, y, radius; Allocation alloc =3D this.getAllocation(); x =3D alloc.getX() + alloc.getWidth() / 2; y =3D alloc.getY() + alloc.getHeight() / 2; radius =3D (x < y ? x : y) - 5; cr.arc(x, y, radius, 0, 2 * Math.PI); cr.setSourceRGB(1, 1, 1); cr.fillPreserve(); cr.setSourceColor(Color.BLACK); cr.stroke(); for (int i =3D 0; i < 12; i++) { double inset; cr.save(); if ( i % 3 =3D=3D 0 ) { inset =3D 0.2 * radius; } else { inset =3D 0.1 * radius; cr.setLineWidth(0.5 * cr.getLineWidth()); } cr.moveTo(x + (radius - inset) * Math.cos(i * Math.PI / 6), y + (radius - inset) * Math.sin(i * Math.PI / 6)); cr.lineTo(x + radius * Math.cos(i * Math.PI / 6), y + radius * Math.sin(i * Math.PI / 6)); cr.stroke(); cr.restore(); } } public static void main(String[] args) { Gtk.init(args); Window window =3D new Window(); EggClockFace clock =3D new EggClockFace(); window.add(clock); window.addListener(new LifeCycleListener() { public void lifeCycleEvent(LifeCycleEvent event) { }; public boolean lifeCycleQuery(LifeCycleEvent event) { Gtk.mainQuit(); return false; } }); window.showAll(); Gtk.main(); } } |
From: David M. <dma...@re...> - 2006-01-26 21:20:41
|
This might be useful to allow autogeneration of java bindings for the E-D-S API, re the recent thread. (I haven't looked at it closely; just passing along the link) Hope this helps Dave |
From: Lars W. <la...@di...> - 2006-01-26 00:19:14
|
> just to inform you that I created a new bug (#328609) related to a > segfault in Bugzilla and while doing so also added two previoulsy > reported problems (#328616 and #328612). > > I'm also want to add that I'm sorry for only beeing the source of > problem-reports and questions at the moment. I hope to be able to > contribute at least minor bug-fixes myself eventually but currently I > have too many other things on my mind... Uhm, this was actually meant for java-gnome-hackers ... Sorry, Lars |
From: Lars W. <la...@di...> - 2006-01-25 17:31:58
|
Hi, just to inform you that I created a new bug (#328609) related to a segfault in Bugzilla and while doing so also added two previoulsy reported problems (#328616 and #328612). I'm also want to add that I'm sorry for only beeing the source of problem-reports and questions at the moment. I hope to be able to contribute at least minor bug-fixes myself eventually but currently I have too many other things on my mind... Regards, Lars |
From: Andrew C. <an...@op...> - 2006-01-24 21:33:17
|
On Tue, 2006-24-01 at 15:51 +0100, pancake wrote: > I also updated the layout tutorial. That's terrific! I for one will be happy to make some touch ups. AfC Dunedin |
From: pancake <pa...@ph...> - 2006-01-24 14:51:48
|
I also updated the layout tutorial. Requires an example an probably better explanations, etc. Anybody wanna help? http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/LayoutTutorial |
From: pancake <pa...@ph...> - 2006-01-24 14:23:25
|
Screenshots and Applications wiki pages updated. Homepage: http://www.nopcode.org/blog/gdvb.html Have a nice java-gnome week! :) Changelog: 0.3 - 2006/01/24 - also install the satellite configuration files (sats/*) - inform about the restart required after the channel scan - call 'save' instead 'ok' to the right button. - add a 'cancel' button in the Scan window - fix Scan gtk-thread-safe progressbar pulses - handle mplayer_args centralized in Mplayer.getArgs() - handle fullscreen in configuration - check for 'mplayer' path in configure.acr - up ACR stuff to v0.5 - better statusbar response. - use MessageDialog to save favorites. - add 'iconify' menu item - add 'player' menu entry - Cleanup of Sattellite tabs - Handle double-click event everywhere. - Fix dual-mplayer killer in QuitProgram class - Remote Videos synced with ~/.gdvb/config - add/remote remote videos working. - Set the default application icon. - handle null language settings in Preferences. - add 'Remote Videos' tab - rename 'Local Videos' -> 'Local media' - Added 'audio' mimefilter in LocalVideos - update acr stuff - Fix a gtk bug that frozens the GUI |
From: Andrew C. <an...@op...> - 2006-01-23 21:58:56
|
On Mon, 2006-23-01 at 14:45 +0100, Trond Andersen wrote: > Are there any plan to add support for eds, or is this down prioritized > compared to other APIs which have been under Gnome umbrella for a > longer time? As ever with Open Source software, the directions and priorities are set by those who make the contribution. I too would love to see a language binding around evolution-data-server, but I myself don't have the technical competence to understand their APIs (sic). That's actually a fairly major theme for us - we're all attracted to java-gnome because we want to do GNOME programming from Java. Go figure. But that also indicates the background of most of us. I started with C in the 80s and have a reasonable facility with it but want absolutely nothing to do with writing application code in Glib/GTK C today. On the other hand, all the guys who understand how to code GTK in the original C layer have already mounted that learning curve and have no reason to use (and thus help us fix) Java bindings. So whenever you see an long time GNOME person in #java-gnome, give them a hug. :) As for eds, I'd love to see a binding but it have to wait until someone can invest the time in learning their API and then wrapping it. Given that Novell paid a bunch of guys to do that for the C# binding is indeed worth leveraging when the time comes. AfC Dunedin |
From: Trond A. <tro...@gm...> - 2006-01-23 13:52:31
|
I saw a few posts regarding Evolution Data Server (eds), but could not find any major posts on the mailing list regarding this subject. Are there any plan to add support for eds, or is this down prioritized compared to other APIs which have been under Gnome umbrella for a longer time? The reason I'm asking is that I'm considering adding a feature to Freemind (http://freemin.sf.net) that would require eds APIs available from Java. I also browsed the source code from eds and found the "glue" code used by the C# API. Does anyone know if this glue code actually would give any value seen from a Java-Gnome perspective? http://cvs.gnome.org/viewcvs/evolution-sharp/glue/ Best regards Trond Andersen |
From: Lars W. <la...@di...> - 2006-01-22 17:50:17
|
Hi everyone, the last line in the setupTreeStore method below here not only shows the parent of tree_iter to be 'null' (which it shouldn't be) but also throws two exceptions (see output). Does anyone know what might be the problem? I'm using java-gnome (--without-gnome) from CVS which is maybe a week old. Regards, Lars -------------8<-------------- package net.digiterror.gtk; import org.gnu.gtk.*; public class TreeInsert { public TreeInsert() { Window window = new Window(); TreeView tree_view = new TreeView(); setupTreeStore(tree_view); window.add(tree_view); window.showAll(); } private void setupTreeStore(TreeView tree_view) { DataColumnString label_column = new DataColumnString(); TreeStore tree_store = new TreeStore(new DataColumn[]{ label_column }); TreeViewColumn tree_view_column = new TreeViewColumn(); tree_view.setModel(tree_store); CellRendererText text_renderer = new CellRendererText(); tree_view_column.packStart(text_renderer, true); tree_view_column.addAttributeMapping(text_renderer, CellRendererText.Attribute.TEXT, label_column); tree_view.appendColumn(tree_view_column); TreeIter tree_iter = tree_store.appendRow(null); tree_store.setValue(tree_iter, label_column, "Parent"); tree_iter = tree_store.insertRowBefore(null, tree_iter); tree_store.setValue(tree_iter, label_column, "Child"); System.out.println("Parent: " + tree_iter.getParent()); } } ------------->8-------------- -------------8<-------------- java.lang.Exception: gtk_tree_store_get_path: assertion `iter->stamp == GTK_TREE_STORE (tree_model)->stamp' failed at org.gnu.glib.GObject.printStackTrace(GObject.java:616) at org.gnu.gtk.TreeIter.gtk_tree_model_get_string_from_iter(Native Method) at org.gnu.gtk.TreeIter.toString(TreeIter.java:115) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuffer.append(StringBuffer.java:220) at net.digiterror.gtk.TreeInsert.setupTreeStore(TreeInsert.java:69) at net.digiterror.gtk.TreeInsert.<init>(TreeInsert.java:11) at net.digiterror.gtk.Main.main(Main.java:9) java.lang.Exception: gtk_tree_model_get_string_from_iter: assertion `path != NULL' failed at org.gnu.glib.GObject.printStackTrace(GObject.java:616) at org.gnu.gtk.TreeIter.gtk_tree_model_get_string_from_iter(Native Method) at org.gnu.gtk.TreeIter.toString(TreeIter.java:115) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuffer.append(StringBuffer.java:220) at net.digiterror.gtk.TreeInsert.setupTreeStore(TreeInsert.java:69) at net.digiterror.gtk.TreeInsert.<init>(TreeInsert.java:11) at net.digiterror.gtk.Main.main(Main.java:9) Parent: null ------------->8-------------- |
From: Andrew C. <an...@op...> - 2006-01-21 08:41:52
|
I've written a small applet like program (which I intend to *make* an applet, but that'll come later) which tells you whether or not the drive is spinning. It just displays a little indicator icon in a tiny undecorated, skip taskbar, skip pager, keep on top window. Since it's undecorated, there is no minimize button, but I just hit (by accident) Alt-F9 on it when it was focused and poof it disappeared... then I realized that I had minimized it and since its not in the taskbar or pager it can't be Alt-TAB 'ed to get back on screen. So. Kill program, restart. Oops. What I need to do is trap the minimize (iconify?) event and then ignore it. I'm sure there must be a GTK signal for this, but I couldn't find it anywhere in our bindings. I would have though that this would have been in LifeCycleListener's LifeCycleEvent.TYPE, but apparently not. Maybe one of the things there *is* what I'm looking for, but the javadoc there is rather sparse. Any suggestions? AfC Sydney |
From: Andrew C. <an...@op...> - 2006-01-20 11:55:29
|
Hey, The next 7 days will be java-gnome week! {Mumbles in the background . What's he smoking?} There are lots and lots of people who lurk in the java-gnome community. There are hackers old and new who have made contributions through the years, and many more who have watched our progress with enthusiasm and support. But we don't have any full time hackers devoted to the bindings nor do we have a compelling set of projects which drive us to meat release deadlines. It's easy to forget the thing we have in common and certainly there are always other calls on our time. But not next week! Starting tomorrow we're going to shake the tree and beat the bushes and see what we can scare up! That's right. Anything you've been thinking of working on, NEXT WEEK IS YOUR WEEK. Patches, feature requests, helping out new developers. Come one, come all, now's the time to get it in! For the next 7 days we're all going to be rabidly enthusiastic and see what we can achieve. And at the end of the week we will release libgtk-java 2.8.3 (and any other of our libraries that get some love)! So drop by #java-gnome and say hello. Ask questions. Discuss on our mailing lists. Update the wiki! Fix bugs. Clean up the example code. Better yet, fire up your box, update your sources, and fix that little thing that you've been meaning to do. Or if you're working on an application that uses java-gnome, why don't you push out a release next week and tell the world! Me? I'm going to see if I can get a binding around gnome-applets going. Anyone want to help? ...I'll see you 'round the net! And anyone who's going to be at linux.conf.au in Dunedin, NZ next week, be sure to say hi... AfC Sydney |
From: Jeff M. <ku...@gm...> - 2006-01-16 15:31:43
|
It would be best to send this type of message to the java-gnome-developer mailing list. -Jeff On 1/11/06, Conlon, Sean <Sea...@ba...> wrote: > > > Jeffrey Kuzman, > > I am trying to create a simple GUI for a simple Java program, just like > your tutorial shows how to do, but I do not know where to get the necessa= ry > jar files that contain the imports for the GTK. I am using Glade 2.10.0, > and running in a Windows XP environment. Is this even possible, or if yo= u > know a better tool for creating GUI's for Java in a Windows environment, = I > am open to those suggestions as well. > > Thanks, > Sean > |
From: Andrew C. <an...@op...> - 2006-01-15 04:48:33
|
On Sat, 2006-14-01 at 21:04 -0500, Remy Suen wrote: > If you plan to use libgtk-java-2.8.1, please use > glib-java-0.2.1, and if you're going to use glib-java-0.2.2, please use > libgtk-java-2.8.2. This is the second time this week that this has come up. I'll make sure to up the dependency required in libgtk-java 2.8.3 {sigh} ... things were so much easier when java-gnome was one package. AfC Sydney |
From: Remy S. <rem...@gm...> - 2006-01-15 02:20:24
|
Hi Stefan, I believe the problem is that your libgtk-java and glib-java versions are not in sync. If you plan to use libgtk-java-2.8.1, please use glib-java-0.2.1, and if you're going to use glib-java-0.2.2, please use libgtk-java-2.8.2. See how it goes and get back to us all. :) You are also welcome to chat with some of us on IRC in the #java-gnome channel at irc.gimp.net. Regards, Rem On Sat, 14 Jan 2006 23:40:01 +0100 Stefan Krause <Ste...@gm...> wrote: > Hi all, > > I fail miserably to run the Gtk HelloWorld program with a Sun JDK > (1.5.0 or 1.6.0-beta) and thus have to bother you with my question. > Here's the output: > java -Djava.library.path=/usr/local/lib -classpath > ${JG_JARS}gtk2.8.jar:${JG_JARS}glib0.2.jar:bin HelloWorld > Exception in thread "main" java.lang.UnsatisfiedLinkError: > /usr/local/lib/libgtkjni-2.8.so: /usr/local/lib/libgtkjni-2.8.so: > undefined symbol: JNU_GetEnv > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) > at java.lang.Runtime.loadLibrary0(Runtime.java:821) > at java.lang.System.loadLibrary(System.java:1030) > at org.gnu.gtk.Gtk.<clinit>(Gtk.java:180) > at HelloWorld.main(HelloWorld.java:55) > > (I'm getting this exception with libgtk-java-2.8.1 and > glib-java-0.2.2) It runs fine with gij on my SuSE 10 machine - but > I'd like to run it with Sun's JDKs too. Who can help me? > > Yours, > Stefan > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files for problems? Stop! Download the new AJAX search engine > that makes searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ java-gnome-developer > mailing list jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Stefan K. <Ste...@gm...> - 2006-01-14 22:40:16
|
Hi all, I fail miserably to run the Gtk HelloWorld program with a Sun JDK (1.5.0 or 1.6.0-beta) and thus have to bother you with my question. Here's the output: java -Djava.library.path=/usr/local/lib -classpath ${JG_JARS}gtk2.8.jar:${JG_JARS}glib0.2.jar:bin HelloWorld Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/lib/libgtkjni-2.8.so: /usr/local/lib/libgtkjni-2.8.so: undefined symbol: JNU_GetEnv at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:821) at java.lang.System.loadLibrary(System.java:1030) at org.gnu.gtk.Gtk.<clinit>(Gtk.java:180) at HelloWorld.main(HelloWorld.java:55) (I'm getting this exception with libgtk-java-2.8.1 and glib-java-0.2.2) It runs fine with gij on my SuSE 10 machine - but I'd like to run it with Sun's JDKs too. Who can help me? Yours, Stefan |
From: Damian M. <da...@sp...> - 2006-01-13 13:40:04
|
I have a problem with loosing focus of Renderers in a TreeView. Whe you edit a cell in the treeview and after stopping edit you click a button or other component - then you don't lose the focus of the treeview and don't lose focus on the Editor component so the event cellRendererTextEvent is not triggered so the changes you have just made doesn't go to the model of the treeview. This can be avoided by after editing the cell you must click somewhere else in the trieview so the cell loses focus and then everything works, the event is trigered. Anybody faced this problem ? Any solution for this ? I've tried grabing focus of other componets and focus listeners and so on but nothing solved the problem. |
From: Damian M. <da...@sp...> - 2006-01-12 12:20:30
|
I've maded. I've added in the current theme config file (gtkrc) GtkComboBox::appears-as-list = 1 this makes the combo with scrolls and is searchable I've tried setting the property from the java-gnome API on the combobox or on the combobox style with no effect. |
From: Robert S. <the...@gm...> - 2006-01-09 12:19:39
|
Hi all, this years LinuxTag takes place in Wiesbaden/Germany on May 3-6 . Like last year the organizers plan to have a Java track. As a free software event there is lots of interest to have presentations about GNU Classpath and all its related F/OSS projects. Please take this as an opportunity to tell something about the project you are involved! The call for papers is already open and ends at January 15th. You do not have to submit complete documents for this date. All details about the requirements for speakers can be found here: http://www.linuxtag.org/2006/en/home/cfp.html I hope to see some of you in Wiesbaden. :) cya Robert |
From: Andrew C. <an...@op...> - 2006-01-07 07:28:05
|
On Wed, 2006-04-01 at 14:59 +0100, Lars Weber wrote: > Shouldn't it now be possible for me to specify the method doFoo() as a > signal handler in UI.glade (e.g. for a button click)? You'd think so. > Currently, when I > try to do something like this (or at least something similar), I get an > IllegalAccessException. Huh. The only time I tried to do something like this I was overriding abstract methods anyway so they were implemented in the Bar class anyway. Suggestions: 1) put doFoo() { super.doFoo(); } into Bar.java 2) look at the code for LibGlade(). It's pretty hairy but it could well be doing something un-java-ish that it needs to be doing. It sounds like it's looking for a method doFoo in Bar only, not in Bar and its supertypes. I've not done much with reflection but I suspect that whatever LibGlade (and it's C JNI counterpart) are doing it's not doing it quite right. 3) Be smart about it and don't use signal auto-connection. Use addListener() instead. AfC Sydney -- Andrew Frederick Cowie Operational Dynamics Website: http://www.operationaldynamics.com/ Blog: http://research.operationaldynamics.com/blogs/andrew/ GPG key: 0945 9282 449C 0058 1FF5 2852 2D51 130C 57F6 E7BD Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |
From: Lars W. <la...@di...> - 2006-01-04 13:59:29
|
Hello again, since nobody answered to my previous question, let me try to ask it again a little bit different and perhaps more clearly. Let's say I have a class Foo: public class Foo { public void doFoo() { System.out.println("Foo!"); } } Then I have another class called Bar extending Foo: public class Bar extends Foo { public Bar() { try { ui = new LibGlade("UI.glade", this); } catch(Exception e) { e.printStackTrace(); } } } Shouldn't it now be possible for me to specify the method doFoo() as a signal handler in UI.glade (e.g. for a button click)? Currently, when I try to do something like this (or at least something similar), I get an IllegalAccessException. Regards, Lars |