java-gnome-developer Mailing List for The java-gnome language bindings project (Page 52)
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: Clint A. <ca...@au...> - 2005-02-11 13:21:20
|
Here's a little program I use to test out my Glade GUIs. You could easily subclass it and have it handle events for a specific widget. Abcdefg said: > I don't know about the errors (just started using java-gnome..) but I just > created an example how to 'communicate' between java and glade. Because it's > verry simple but it took me a long time to find out how.. > > Its here: egzz.net/java-glade.html > If you (the website maintainers) like it, I can convert it to wiki and add > it to the java-gnome site? > > David |
From: Abcdefg <ab...@so...> - 2005-02-11 11:58:32
|
I don't know about the errors (just started using java-gnome..) but I just created an example how to 'communicate' between java and glade. Because it's verry simple but it took me a long time to find out how.. Its here: egzz.net/java-glade.html If you (the website maintainers) like it, I can convert it to wiki and add it to the java-gnome site? David |
From: Michael S. <mic...@gm...> - 2005-02-11 04:11:39
|
hi i installed java-gnome today and wanted to try it out with glade. i compiled and ran the HelloWorldGlade example from: http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeHelloWorld#HelloWorldGlade The gui shows but the events don't work (clicking on the button does not do anything, and closing the window does not terminate the application either). when i launch the application the following message appears on the command line twice (i suppose once for the button event and once for the window event): java.lang.reflect.InvocationTargetException: ListenerDelegate.create failure does anyone have any idea to why this happens and how to fix it? and does anyone know of a / have a bigger / better example of how to use glade with java-gome (on how to access widget properties and to handle events)? also the the jgo.sh script on the the java-gnome.sf.net website should probably mention that its last line: ${JAVA} -classpath ${JG_JARS}gtk2.4.jar:${JG_JARS}gnome2.8.jar:${JG_JARS}glade2.4.jar:${JG_JARS}gconf2.8.jar:${CLASSPATH} $@ might need modifications regarding the version numbers of jar files. it took me hours to figure out why my java-gnome installation didn't work. maybe on of the website maintainers reads this email and can mention that. thanks michael salcher -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl |
From: Jeff M. <ku...@gm...> - 2005-02-07 22:20:08
|
The Java-GNOME team is pleased to announce the release of Java-GNOME 2.9.91 which is our second beta release for 2.10. This release has focused on fixing reported bugs and improving the build system. You can find source tarballs for each of the modules on GNOME ftp. libgtk-java 2.5.91: bindings for glib, atk, pango, gdk, gdk-pixbuf, and gtk http://ftp.gnome.org/pub/GNOME/sources/libgtk-java/2.5/libgtk-java-2.5.91.tar.gz libgnome-java 2.9.91: bindings for libgnome, libgnomeui, and libgnomecanvas http://ftp.gnome.org/pub/GNOME/sources/libgnome-java/2.9/libgnome-java-2.9.91.tar.gz libglade-java 2.9.91: bindings for libglade http://ftp.gnome.org/pub/GNOME/sources/libglade-java/2.9/libglade-java-2.9.91.tar.gz libgconf-java 2.9.91: bindings for gconf http://ftp.gnome.org/pub/GNOME/sources/libgconf-java/2.9/libgconf-java-2.9.91.tar.gz -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Jeff M. <ku...@gm...> - 2005-02-07 12:39:52
|
I have created a document on our site which details our plans for Java-GNOME 2.12 development. I would like to have an irc meeting to discuss this roadmap. The goal of the meeting is to finalize the document. I would like to propose this take place on Thursday 10 February at 22:00 GMT. If this time is not convenient please let me know since I would like to have all contributors to the project at the meeting. http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeRoadmap -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Clint A. <ca...@au...> - 2005-02-05 14:47:28
|
Hi everyone, this is my first posting to the list. I just wanted to let you know of a problem I found (though I have managed to work around it). When I run the command: javadoc \ -locale "en_US" \ -d ~/temp/java-gnome-2.8.3-doc \ -classpath usr/local/share/java/glade2.8.jar: \ /usr/local/share/java/gnome2.8.jar: \ /usr/local/share/java/gtk2.4.jar \ -subpackages org \ -windowtitle "Java-Gnome 2.8.3" \ -sourcepath usr/local/src/java-gnome/libglade-java-2.8.3/src/java: \ /usr/local/src/java-gnome/libgnome-java-2.8.3/src/java: \ /usr/local/src/java-gnome/libgtk-java-2.4.8/src/java \ -charset "utf-8" \ -nohelp \ -splitindex \ -author \ -version I get the following output: ... [lots of stuff snipped] ... Generating /home/clint/temp/java-gnome-2.8.3-doc/index-files/index-19.html... java.util.MissingResourceException: Can't find resource for bundle com.sun.tools.doclets.formats.html.resources.standard, key doclet.malformed_html_link_tag at java.util.ResourceBundle.getObject(ResourceBundle.java:326) at java.util.ResourceBundle.getString(ResourceBundle.java:286) at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:114) at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:92) at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:81) at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.warning(MessageRetriever.java:290) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.redirectRelativeLinks(HtmlDocletWriter.java:1526) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.commentTagsToString(HtmlDocletWriter.java:1438) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printCommentTags(HtmlDocletWriter.java:1397) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1370) at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1366) at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printComment(AbstractIndexWriter.java:192) at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printDescription(AbstractIndexWriter.java:164) at com.sun.tools.doclets.formats.html.AbstractIndexWriter.generateContents(AbstractIndexWriter.java:89) at com.sun.tools.doclets.formats.html.SplitIndexWriter.generateIndexFile(SplitIndexWriter.java:101) at com.sun.tools.doclets.formats.html.SplitIndexWriter.generate(SplitIndexWriter.java:74) at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:101) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122) at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64) at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42) at com.sun.tools.doclets.standard.Standard.start(Standard.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340) at com.sun.tools.javadoc.Start.begin(Start.java:128) at com.sun.tools.javadoc.Main.execute(Main.java:41) at com.sun.tools.javadoc.Main.main(Main.java:31) If I change the "-splitindex" option to "-noindex", it works fine (but I don't have an index). It's no big deal to me, I just thought someone might like to know. Ya'll have a good one! |
From: Jeff M. <ku...@gm...> - 2005-02-05 01:14:25
|
The Java-GNOME team announces the latest stable release of the Java-GNOME bindings. These bindings provide the ability to develop GNOME applications in the Java language. This is our first stable release to provide support for 64-bit architectures. This release also includes numerous bug fixes and build enhancements. As always, you can download the source tarballs from the GNOME ftp site. The available modules are: libgtk-java 2.4.8: bindings for glib, atk, pango, gdk, gdk-pixbuf, and gtk ftp://ftp.gnome.org/pub/GNOME/sources/libgtk-java/2.4/libgtk-java-2.4.8.tar.gz libgnome-java 2.8.3: bindings for libgnome, libgnomeui, and libgnomecanvas ftp://ftp.gnome.org/pub/GNOME/sources/libgnome-java/2.8/libgnome-java-2.8.3.tar.gz libglade-java 2.8.3: bindings for libglade ftp://ftp.gnome.org/pub/GNOME/sources/libglade-java/2.8/libglade-java-2.8.3.tar.gz libgconf-java 2.8.3: bindings for gconf ftp://ftp.gnome.org/pub/GNOME/sources/libgconf-java/2.8/libgconf-java-2.8.3.tar.gz -- Jeffrey Morgan |
From: Joao V. <jvi...@ya...> - 2005-02-02 16:48:03
|
Hmmmm Here's a quick hack: if you put <br> tags, it'll break lines... but of course it won't be as dynamic as you want :P So... the *real* solution to your problem, i believe, would be this: write a custom cell renderer. Now that's the challenge: how hard is it to write a custom cell renderer with JG? Maybe JG should provide some base class for custom cell renderers (*hint hint*). Here's a C tutorial on how to write custom cell renderers: http://scentric.net/tutorial/sec-custom-cell-renderers.html#sec-custom-cell-renderer-example Cheers, J.V. --- Andrew Cowie <an...@op...> escreveu: > Hey there, > > I'm in the process of using a simple single-column ListStore backed > TreeView to display a summarized version of some data, and I'm having a > little trouble fine tuning the rendering - I need word wrap. > > As some of you know, I'm working on something which, broadly stated, > involves displaying XML data. This particular window is a high level > summary, which simplifies navigation around the more specific details of > the document in other windows. As such, I've just read in selected XML > nodes, and composed a single string - with Pango markup - for display in > the TreeView widget. > > Pango obviously provides for wrapping text in Labels; and likewise > TreeView (care of TreeViewColumn and CellRendererText.Attribute.MARKUP) > provides for displaying text with pango markup, so text of > > This is <big>some huge</big> text, and <span > size=small>this is small</span> > > works. The trouble is that there's no markup code (that I can find) for > word wrap. > > I looked up the GNOME manual, and Labels definitely have a wrap > property, and java-gnome lets you at it with Label.setLineWrap(true). > However, the text cells in a TreeView are not Labels, even though the > same pango engine is used to render them. > > CellRendererText has a method called setAttributes(AttrList attr). That > seems to be the way to Pango, but when I look at the org.gnu.pango > classes, I can't figure out how to create the Attribute objects which it > uses. > > Within org.gnu.pango there's a Layout class, which has > setWrapStyle(WrapMode.WORD), but I can't figure out how to get to > Attribute from Layout, or vice versa - for that matter, I can't figure > out what generates Layout objects. > > So obviously I'm way off in left field here. If <span wrap="true"> > worked, then this would be easy, but that doesn't work (and, in fact, > throws quite the error :)). > > If I wasn't using a TreeView, then it would just be labels and would be > easy - but if I was forced to do that then it would mean trying to > manually duplicate the effect of the TreeView widget, and that's going > to be near impossible. > > Help? :) > > A small screenshot of what I'm fighting against is attached. The lines > in italics are all much longer, and the ones that need to be wrapped > instead of cut off. _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |
From: Andrew C. <an...@op...> - 2005-02-02 12:56:52
|
Hey there, I'm in the process of using a simple single-column ListStore backed TreeView to display a summarized version of some data, and I'm having a little trouble fine tuning the rendering - I need word wrap. As some of you know, I'm working on something which, broadly stated, involves displaying XML data. This particular window is a high level summary, which simplifies navigation around the more specific details of the document in other windows. As such, I've just read in selected XML nodes, and composed a single string - with Pango markup - for display in the TreeView widget. Pango obviously provides for wrapping text in Labels; and likewise TreeView (care of TreeViewColumn and CellRendererText.Attribute.MARKUP) provides for displaying text with pango markup, so text of This is <big>some huge</big> text, and <span size=small>this is small</span> works. The trouble is that there's no markup code (that I can find) for word wrap. I looked up the GNOME manual, and Labels definitely have a wrap property, and java-gnome lets you at it with Label.setLineWrap(true). However, the text cells in a TreeView are not Labels, even though the same pango engine is used to render them. CellRendererText has a method called setAttributes(AttrList attr). That seems to be the way to Pango, but when I look at the org.gnu.pango classes, I can't figure out how to create the Attribute objects which it uses. Within org.gnu.pango there's a Layout class, which has setWrapStyle(WrapMode.WORD), but I can't figure out how to get to Attribute from Layout, or vice versa - for that matter, I can't figure out what generates Layout objects. So obviously I'm way off in left field here. If <span wrap="true"> worked, then this would be easy, but that doesn't work (and, in fact, throws quite the error :)). If I wasn't using a TreeView, then it would just be labels and would be easy - but if I was forced to do that then it would mean trying to manually duplicate the effect of the TreeView widget, and that's going to be near impossible. Help? :) A small screenshot of what I'm fighting against is attached. The lines in italics are all much longer, and the ones that need to be wrapped instead of cut off. AfC Sydney -- Andrew Frederick Cowie Managing Director Sydney: +61 2 9977 6866 New York: +1 646 472 5054 Toronto: +1 416 848 6072 London: +44 207 1019201 OPERATIONAL DYNAMICS Operations Consultants and Infrastructure Engineers http://www.operationaldynamics.com/ |
From: Jeff M. <ku...@gm...> - 2005-02-01 17:04:01
|
I am currently working on a new stable release of the bindings. This release will include all bug fixes from the cvs head, 64-bit support, and the new build system. There are significant changes with this release so a lot of testing will be necessary. If you would like to help with testing the libgtk-java version is available at the link below: http://java-gnome.sourceforge.net/beta/libgtk-java-2.4.8.tar.gz Thanks -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Mark H. <mh...@ti...> - 2005-01-29 18:26:37
|
Having never heard of GTKExtra, I did a quick search: http://gtkextra.sourceforge.net/ This project seems to be abandoned since 4 years ago and implementes widgets which are already part of gtk+. In terms of binding for java, you'd probably have to work on a full set of gtk1.2 bindings first... It's not worth it. On Sat, Jan 29, 2005 at 11:51:36AM -0200, Luciano Greiner wrote: > Hello! > > Does Java-gnome already supports GTKExtra widgets like GtkSheet? If > not, maybe i can start to develop this. > > Thank you folks! > > Luciano Greiner > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... |
From: Luciano G. <luc...@gm...> - 2005-01-29 13:52:18
|
Hello! Does Java-gnome already supports GTKExtra widgets like GtkSheet? If not, maybe i can start to develop this. Thank you folks! Luciano Greiner |
From: Nicholas R. <ni...@mn...> - 2005-01-25 08:33:34
|
The javadoc (online and bundled versions) have also been updated on the website. Enjoy, Nick On Mon, 2005-01-24 at 20:36 -0500, Jeff Morgan wrote: > The Java-GNOME team is pleased to announce the release of > Java-GNOME 2.9.90 which is our first beta release for 2.10. > > This release has focused on fixing reported bugs and improving > the build system. You can find source tarballs for each of the > modules on GNOME ftp. > > libgtk-java 2.5.90: > bindings for glib, atk, pango, gdk, gdk-pixbuf, and gtk > ftp://ftp.gnome.org/pub/GNOME/sources/libgtk-java/2.5/libgtk-java-2.5.90.tar.gz > > libgnome-java 2.9.90: > bindings for libgnome, libgnomeui, and libgnomecanvas > ftp://ftp.gnome.org/pub/GNOME/sources/libgnome-java/2.9/libgnome-java-2.9.90.tar.gz > > libglade-java 2.9.90: > bindings for libglade > ftp://ftp.gnome.org/pub/GNOME/sources/libglade-java/2.9/libglade-java-2.9.90.tar.gz > > libgconf-java 2.9.90: > bindings for gconf > ftp://ftp.gnome.org/pub/GNOME/sources/libgconf-java/2.9/libgconf-java-2.9.90.tar.gz > > |
From: Jeff M. <ku...@gm...> - 2005-01-25 02:04:18
|
The Java-GNOME team is pleased to announce the release of Java-GNOME 2.9.90 which is our first beta release for 2.10. This release has focused on fixing reported bugs and improving the build system. You can find source tarballs for each of the modules on GNOME ftp. libgtk-java 2.5.90: bindings for glib, atk, pango, gdk, gdk-pixbuf, and gtk ftp://ftp.gnome.org/pub/GNOME/sources/libgtk-java/2.5/libgtk-java-2.5.90.tar.gz libgnome-java 2.9.90: bindings for libgnome, libgnomeui, and libgnomecanvas ftp://ftp.gnome.org/pub/GNOME/sources/libgnome-java/2.9/libgnome-java-2.9.90.tar.gz libglade-java 2.9.90: bindings for libglade ftp://ftp.gnome.org/pub/GNOME/sources/libglade-java/2.9/libglade-java-2.9.90.tar.gz libgconf-java 2.9.90: bindings for gconf ftp://ftp.gnome.org/pub/GNOME/sources/libgconf-java/2.9/libgconf-java-2.9.90.tar.gz -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Joao V. <jvi...@ya...> - 2005-01-24 12:32:30
|
I've been trying to use the Canvas lately, but with no success... i've tried to add a CanvasText to a Canvas, but its just not appearing. Is there a problem with the Canvas? Is there an example of how to use it? I've tried doing: ------ Canvas canvas = (Canvas) glade.getWidget("canvas1"); CanvasText text = new CanvasText(canvas.getRoot()); text.setData("text", "testing..."); canvas.showAll(); ------ Thanks, J.V. _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |
From: Noup <lu...@ma...> - 2005-01-23 22:20:35
|
Hello everyone. I'm currently intending on writing an application using the java-gnome API. I've never used this API before, and so i have a doubt that strongly constraints whether i will or not be able to use this collection of bindings instead of gtk itself: is there any correspondence to the GDK_WINDOW_XWINDOW macro (see http://www-eleves-isia.cma.fr/documentation/GtkDoc/gdk/gdk-x-window-system-interaction.html#GDK-WINDOW-XWINDOW-CAPS)? Thanks in advance, Pedro Castro. -- http://noup.tk |
From: Jeff M. <ku...@gm...> - 2005-01-22 00:42:06
|
I will be giving a presentation on Java-GNOME at FOSDEM next month. The presentation is on Saturday, February 26 from 4:00 to 4:50 and the title of the presentation is: Liberation through Binding! Using java-gnome to build desktop applications If you are able to attend please take the time to say hello! -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |
From: Mark H. <mh...@ti...> - 2005-01-19 13:21:45
|
You're missing a call to Gtk.init: http://java-gnome.sourceforge.net/docs/javadoc-2.9/org/gnu/gtk/Gtk.html#init(java.lang.String[]) -- .""`. Mark Howard : :" : `. `" http://www.tildemh.com `- mh...@de... | mh...@ti... |
From: Joao V. <jvi...@ya...> - 2005-01-19 13:20:23
|
I've made a backport of libgnome-2.8.2 to run on Gnome 2.6. Basically what i did was to remove all 2.8-specific calls (which strangenly weren't many: just 2), and compile it on Gnome 2.6. It compiled fine, and i ran a gnome HelloWorld just fine. But, we can't make this official because we don't know exactly how good this backport is, if there's some problem, etc. *So*, here's what i'm doing: i'm making the backport avaliable to allow people to test it. I've packaged it with autopackage, you may download it here: http://www.angelfire.com/linux/jvic/libgnome-java-2.8.2.x86.package To install: * Download (you may have to 'right click->Save link...') * Make it executable * Double-click it, it will install it. To see the files installed: $ package files libgnome-java I have also made a patch avaliable, for the ones who want to build it, or to see what were the changes. Here's the patch: http://www.angelfire.com/linux/jvic/libgnomebackport.patch That's basically that; please test and send feedback. Oh, if you're wondering why i've backported it: i believe there's still many people on Gnome 2.6, and i'd like to make Java-Gnome avaliable for this people too. Mdk, for example, is still on Gnome 2.6 and will be till July probably. And even when it releases a new version, many ppl won't upgrade immediately. There's also a lot of ppl still using Fedora 2. So, that was the reason, basically. Cheers! J.V. _______________________________________________________ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet rápida e grátis |
From: Nicholas R. <ni...@mn...> - 2005-01-19 12:22:21
|
I'm not sure, but you might try moving the Program.init call before the try/catch block (i.e. before calling "new LibGlade"). nick On Wed, 2005-01-19 at 00:17 -0700, Rafael Ferreira wrote: > Hey everyone, > > sorry if this a stupid question but I get this crazy error: > > (process:8475): GLib-GObject-CRITICAL **: gtype.c:2253: initialization > assertion failed, use g_type_init() prior to this function > > (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 819 > (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed > > (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 1579 > (g_object_unref): assertion `G_IS_OBJECT (object)' failed > org.gnu.glade.GladeXMLException: file glade-xml.c: line 180 > (glade_xml_construct): assertion `self != NULL' failed > at org.gnu.glade.LibGlade.glade_xml_new(Native Method) > at org.gnu.glade.LibGlade.<init>(LibGlade.java:93) > at org.ophion.jyum.JyumGui.<init>(JyumGui.java:36) > at org.ophion.jyum.Jyum.main(Jyum.java:22) > > whenever I instanciate a new object of the type below: > > public final class JyumGui { > > private LibGlade gladexml; > private final String XML = "/home/rafael/dev/Jyum/glade/gyum.glade"; > private final String XML_ROOT = "Jyum"; > private static final String PROGRAM_NAME="Jyum"; > private static final String PROGRAM_VERSION = "0.001"; > > /* > * Constructor > */ > public JyumGui() { > > try { > gladexml = new LibGlade(XML,this,XML_ROOT); > > } catch (GladeXMLException e) > { > e.printStackTrace(); > System.exit(-1); > } catch (FileNotFoundException e) { > e.printStackTrace(); System.exit(-1); > } catch (IOException e) { > e.printStackTrace(); > System.exit(-1); > } > System.out.println("gui ctor"); > > Program.initGnomeUI(PROGRAM_NAME, PROGRAM_VERSION,null); > Gtk.main(); > } > > > /* > * Listeners > */ > public void on_about1_activate() > { > String documenters[] = new String[1]; > documenters[0] ="Rafael Ferreira"; > > About about = new About("Jyum","0.1","GPL","The Java yum > interface",documenters, documenters , null ,null); > about.show(); > } > > public static void main(String[] args) { > } > } > > * All that I'm doing is a new JymGui(); call in another file... any > ideas?? > > thanks, > > - Rafael > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Rafael F. <ra...@op...> - 2005-01-19 07:22:38
|
Hey everyone, sorry if this a stupid question but I get this crazy error: (process:8475): GLib-GObject-CRITICAL **: gtype.c:2253: initialization assertion failed, use g_type_init() prior to this function (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 819 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed org.gnu.glade.GladeXMLException: file glade-xml.c: line 180 (glade_xml_construct): assertion `self != NULL' failed at org.gnu.glade.LibGlade.glade_xml_new(Native Method) at org.gnu.glade.LibGlade.<init>(LibGlade.java:93) at org.ophion.jyum.JyumGui.<init>(JyumGui.java:36) at org.ophion.jyum.Jyum.main(Jyum.java:22) whenever I instanciate a new object of the type below: public final class JyumGui { private LibGlade gladexml; private final String XML = "/home/rafael/dev/Jyum/glade/gyum.glade"; private final String XML_ROOT = "Jyum"; private static final String PROGRAM_NAME="Jyum"; private static final String PROGRAM_VERSION = "0.001"; /* * Constructor */ public JyumGui() { try { gladexml = new LibGlade(XML,this,XML_ROOT); } catch (GladeXMLException e) { e.printStackTrace(); System.exit(-1); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(-1); } catch (IOException e) { e.printStackTrace(); System.exit(-1); } System.out.println("gui ctor"); Program.initGnomeUI(PROGRAM_NAME, PROGRAM_VERSION,null); Gtk.main(); } /* * Listeners */ public void on_about1_activate() { String documenters[] = new String[1]; documenters[0] ="Rafael Ferreira"; About about = new About("Jyum","0.1","GPL","The Java yum interface",documenters, documenters , null ,null); about.show(); } public static void main(String[] args) { } } * All that I'm doing is a new JymGui(); call in another file... any ideas?? thanks, - Rafael |
From: Rafael F. <ra...@op...> - 2005-01-19 07:18:00
|
Hey everyone, sorry if this a stupid question but I get this crazy error: (process:8475): GLib-GObject-CRITICAL **: gtype.c:2253: initialization assertion failed, use g_type_init() prior to this function (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 819 (g_object_new): assertion `G_TYPE_IS_OBJECT (object_type)' failed (process:8475): GLib-GObject-CRITICAL **: file gobject.c: line 1579 (g_object_unref): assertion `G_IS_OBJECT (object)' failed org.gnu.glade.GladeXMLException: file glade-xml.c: line 180 (glade_xml_construct): assertion `self != NULL' failed at org.gnu.glade.LibGlade.glade_xml_new(Native Method) at org.gnu.glade.LibGlade.<init>(LibGlade.java:93) at org.ophion.jyum.JyumGui.<init>(JyumGui.java:36) at org.ophion.jyum.Jyum.main(Jyum.java:22) whenever I instanciate a new object of the type below: public final class JyumGui { private LibGlade gladexml; private final String XML = "/home/rafael/dev/Jyum/glade/gyum.glade"; private final String XML_ROOT = "Jyum"; private static final String PROGRAM_NAME="Jyum"; private static final String PROGRAM_VERSION = "0.001"; /* * Constructor */ public JyumGui() { try { gladexml = new LibGlade(XML,this,XML_ROOT); } catch (GladeXMLException e) { e.printStackTrace(); System.exit(-1); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(-1); } catch (IOException e) { e.printStackTrace(); System.exit(-1); } System.out.println("gui ctor"); Program.initGnomeUI(PROGRAM_NAME, PROGRAM_VERSION,null); Gtk.main(); } /* * Listeners */ public void on_about1_activate() { String documenters[] = new String[1]; documenters[0] ="Rafael Ferreira"; About about = new About("Jyum","0.1","GPL","The Java yum interface",documenters, documenters , null ,null); about.show(); } public static void main(String[] args) { } } * All that I'm doing is a new JymGui(); call in another file... any ideas?? thanks, - Rafael |
From: Andrew C. <an...@op...> - 2005-01-18 01:37:30
|
On Mon, 2005-17-01 at 01:39 -0700, Rafael Ferreira wrote: > Hey can anyone tell me why I keep getting JVM crashes with the 1.5 JDK My first instinct would be to say "does the identical thing happen if you're using Sun Java JDK 1.4?" Maybe you could try that... [I don't think too many of us are using 1.5 yet. Certainly we're not using its language features as there is an active subgroup of us who are using kaffe or GCJ and thus more or less limited to Java 1.2 APIs] My second instinct would be "did you build java-gnome with this Java 1.5 JDK?" AfC Sydney |
From: Rafael F. <ra...@op...> - 2005-01-17 08:39:42
|
Hey can anyone tell me why I keep getting JVM crashes with the 1.5 JDK and some org.gnu.gnome widgets, like About? For instance, I'm trying to call this: About about = new About("Jyum","0.1","GPL","The Java yum interface",documenters, documenters , null ,null); about.show(); and I get a very nasty jvm crash (attached)... however, gij seems to not have any problems. - raf |
From: Jeff M. <ku...@gm...> - 2005-01-15 21:27:20
|
I am frequently asked questions on irc or this list about building a gnome environment using jhbuild. This is necessary if you wish to use the java-gnome cvs HEAD as we track the gnome cvs HEAD. What follows is an explanation of the way I use jhbuild to maintain an environment for java-gnome dev elopment. Jhbuild is a tool that will grab libraries and applications either from cvs or released soruce tars and build them in the correct order based upon their dependencies. What is built is driven by a file named .jhbuildrc located in your home directory (I'll call it the config file here). I have attached my current file here so you can see my settings. I will talk about a few of the settings in the next paragraphs. The first and most important setting in the config file is the moduleset. This tells jhbuild what version of each modules to build. Currently I am using 'gnome-2.10' since I want the development version of the modules. The next setting to discuss is 'modules'. In the gnome world there is a new release every six months. As you might expect, the environment is much more stable later in that six month cycle than it is early in the cycle. I switch my 'modules' setting about 3 months into the cycle. During the first three months I use ['meta-gnome-devel-platform', 'meta-gnome-devel-tools']. Sometimes I remove the devel-tools if they seem to be unstable. This provides all of the core libraries that I need to develop java-gnome. The last three months of the cycle I change my 'modules' setting to ['meta-gnome-desktop']. This builds the entire desktop and many related applications. During the last two months I sometimes even use this desktop. 'skip' is a very nice feature. I almost always skip mozilla since it takes so long to compile. I also include 'evolution' and other applications that take a while to compile' 'prefix' tells jhbuild where to install the newly built gnome. 'checkoutroot' tells jhbuild where to checkout and build the applications. I create a directory in my home directory called gnome and a directory called cvs under gnome. I use these directories for prefix and checkoutroot. 'autogenargs' tells jhbuild what parameters to pass to autogen as it builds the modules. If you want to pass specific parameters to one package you can use 'module_autogenargs'. When the compilation or installation of a module fails there are a couple of things you can do. Quite often you can tell jhbuild to 'go to stage force_checkout' and it will build correctly. Another problem I have seen is when there is a conflict with a .cvsignore file. In these cases I usually drop to a shell and delete all of the contents of the directory including the .cvsignore file. When I exit the shell and jhbuild starts again it checks out the files and continues with the build. If all else fails you can google. There are many developers that use jhbuild and they might have already discovered and fixed the issue you are seeing. Since you are going against cvs there will be some times when the code will not compile. Look at the module and perhaps you can just skip it. Sometimes you cannot complete the process and must stop jhbuild. The majority of the time it will complete successfully. -- Jeffrey Morgan "The highest reward for a man's toil is not what he gets for it, but what he becomes by it" - Jon Ruskin |