<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1281</id>
	<title>Nabble - Gnome - Java Bindings</title>
	<updated>2009-11-30T21:20:50Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnome---Java-Bindings-f1281.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnome---Java-Bindings-f1281.html" />
	<subtitle type="html">Gnome - Java Bindings home is &lt;a href=&quot;http://java-gnome.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26586824</id>
	<title>SVG loading</title>
	<published>2009-11-30T21:20:50Z</published>
	<updated>2009-11-30T21:20:50Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">Some time ago I did up the beginnings of coverage of librsvg. It's the
&lt;br&gt;GNOME library for loading SVG image files, and you use it to draw onto a
&lt;br&gt;Cairo surface.
&lt;br&gt;&lt;br&gt;I did a quick review of the branch this morning. On the one hand it's
&lt;br&gt;fine, there's even the beginnings of a fun example, but I still have a
&lt;br&gt;number of unresolved questions:
&lt;br&gt;&lt;br&gt;&amp;nbsp;- is it actually necessary to tell people to call Rsvg.init()?
&lt;br&gt;&lt;br&gt;&amp;nbsp;- in the ValidateVectorIllustrations.testHandleMethods() test, I tried
&lt;br&gt;putting in a cr.moveTo() before drawing the SVG onto the Context, but it
&lt;br&gt;didn't seem to have any effect. That's Weird™
&lt;br&gt;&lt;br&gt;&amp;nbsp;- how best to test this, actually? Perhaps load an image with this
&lt;br&gt;code, and load an .svg image via gdk-pixbuf, and compare the two? Of
&lt;br&gt;course, gdk-pixbuf uses librsvg, so that would be a good exercise of our
&lt;br&gt;code somewhat isolated.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Handle's write() isn't finished; it and close() need testing once we
&lt;br&gt;have a way to compare loaded images.
&lt;br&gt;&lt;br&gt;So. Obviously it's not ready for merging, but we might be able to clean
&lt;br&gt;it up well in time for 4.0.15.
&lt;br&gt;&lt;br&gt;My branch is at 'hackers/andrew/librsvg' if you want to have a go.
&lt;br&gt;bzr://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/librsvg/
&lt;br&gt;&lt;br&gt;Meanwhile, I think that was the last open item for considering. There's
&lt;br&gt;a tentative NEWS entry for 4.0.14 up (that's on the 'website' branch,
&lt;br&gt;gets merged to 'mainline' just before a release).
&lt;br&gt;&lt;a href=&quot;http://java-gnome.sourceforge.net/4.0/NEWS.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java-gnome.sourceforge.net/4.0/NEWS.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Frederick Cowie
&lt;br&gt;&lt;br&gt;Operational Dynamics is an operations and engineering consultancy
&lt;br&gt;focusing on IT strategy, organizational architecture, systems
&lt;br&gt;review, and effective procedures for change management: enabling
&lt;br&gt;successful deployment of mission critical information technology in
&lt;br&gt;enterprises, worldwide.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.operationaldynamics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.operationaldynamics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Sydney &amp;nbsp; New York &amp;nbsp; Toronto &amp;nbsp; London
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Join us December 9, 2009 for the Red Hat Virtual Experience,
&lt;br&gt;a free event focused on virtualization and cloud computing. 
&lt;br&gt;Attend in-depth sessions from your desk. Your couch. Anywhere.
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/redhat-sfdev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/redhat-sfdev2dev&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26586824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26586824/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SVG-loading-tp26586824p26586824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26559966</id>
	<title>Re: Potential issues with new closures in JDK 7</title>
	<published>2009-11-28T23:45:59Z</published>
	<updated>2009-11-28T23:45:59Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">On Thu, 2009-11-19 at 10:15 -0500, Jacek Furmankiewicz wrote:
&lt;br&gt;&amp;gt; As you've probably heard by now, looks like JDK 7 will be giving us
&lt;br&gt;&amp;gt; closures/lambdas after all (as announced yesterday at Devoxx):
&lt;br&gt;&lt;br&gt;To be honest, I don't follow the politics of Java 1.7 development that
&lt;br&gt;closely; but that's interesting to hear.
&lt;br&gt;&lt;br&gt;Speaking personally, I've never really missed closures as a language
&lt;br&gt;concept in Java; proper function/method pointers would have been wizard
&lt;br&gt;cool for us {10,4} years ago when we engineered java-gnome, but we don't
&lt;br&gt;have them in Java, so {shrug} we don't.
&lt;br&gt;&lt;br&gt;And meanwhile the technique of implementing an interface and using that
&lt;br&gt;in a callback (especially doing so via an anonymous inner class) has
&lt;br&gt;been good enough. Modern IDE support means that the code appears click
&lt;br&gt;swish bang! which makes it even more of a non-issue :)
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;gt; I would guess there would be no way for the compiler to figure out in
&lt;br&gt;&amp;gt; this case whether it is a KeyPressEvent or KeyReleaseEvent, making JDK
&lt;br&gt;&amp;gt; 7 closures
&lt;br&gt;&amp;gt; potentially unusable with Java-GNOME.
&lt;br&gt;&lt;br&gt;Perhaps!
&lt;br&gt;&lt;br&gt;&amp;gt; Example:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;I've never written a callback that short, so I'm not sure I'd miss being
&lt;br&gt;able to use closures.
&lt;br&gt;&lt;br&gt;That said, surely they've got some casting mechanism? ie, taking your
&lt;br&gt;example and having done zero research about it, surely you can put a
&lt;br&gt;cast in to tell the closure which overload of a method you are actually
&lt;br&gt;trying to call?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Maybe there will be a need for actual event-specific connect methods?
&lt;br&gt;&lt;br&gt;Perhaps. I rather like overloaded methods. I think they look good in
&lt;br&gt;Java, our implementation has beautiful completion and type safety
&lt;br&gt;properties, and it ties somewhat nicely with the underlying
&lt;br&gt;g_signal_connect() API [though that is voodoo at the best of times]
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;Anyway, very interesting design question you've raised. We had similar
&lt;br&gt;conversations when generics first came long, and enums too. Both turned
&lt;br&gt;out to be not that interesting/helpful to us, but it still took
&lt;br&gt;investigation to work that out.
&lt;br&gt;&lt;br&gt;It will be good to think about closures it over the coming years as Java
&lt;br&gt;1.7 gets closer to being actually available out in the wild.
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; like this in Swing:
&lt;br&gt;&amp;gt; 
&lt;br&gt;P.S. &amp;quot;the way that Swing does it&amp;quot; doesn't count for all that much. Most
&lt;br&gt;of us have a well-earned and now reflexive hatred for their API. Making
&lt;br&gt;java-gnome appropriate Java is important. Solving design questions
&lt;br&gt;specifically in order to end up with the same thing that {AWT, Swing,
&lt;br&gt;SWT, etc} did is not.
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26559966&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26559966/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Potential-issues-with-new-closures-in-JDK-7-tp26428018p26559966.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26428018</id>
	<title>Potential issues with new closures in JDK 7</title>
	<published>2009-11-19T07:15:45Z</published>
	<updated>2009-11-19T07:15:45Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">As you&amp;#39;ve probably heard by now, looks like JDK 7 will be giving us closures/lambdas after all (as announced yesterday at Devoxx):&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So, instead of a verbose listener like this in Swing:&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: lucida, arial, sans-serif; font-size: 12px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; &quot;&gt;&lt;pre style=&quot;font-family: monaco, courier, &amp;#39;courier new&amp;#39;; font-size: 12px; clear: both; overflow-x: auto; overflow-y: auto; background-color: rgb(239, 239, 239); width: 700px; padding-bottom: 1.5em; &quot;&gt;
button.addActionListener(
   new ActionListener() { 
      public void actionPerformed(ActionEvent e) { 
         System.out.println(&amp;quot;Hi!&amp;quot;); } } );&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;we could have a much more concise:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: lucida, arial, sans-serif; font-size: 12px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; &quot;&gt;&lt;pre style=&quot;font-family: monaco, courier, &amp;#39;courier new&amp;#39;; font-size: 12px; clear: both; overflow-x: auto; overflow-y: auto; background-color: rgb(239, 239, 239); width: 700px; padding-bottom: 1.5em; &quot;&gt;
button.addActionListener(#(ActionEvent e) System.out.println(&amp;quot;Hi!));&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;As you can see, the new closures are designed to be backwards compatible, i.e. able to be used in method that expect an interface with just one method,&lt;/div&gt;
&lt;div&gt;which makes them usable with existing APIs.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I am not sure however if this would work so well with the standard event APIs in Java-GNOME. Let&amp;#39;s look at these two examples:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;	&lt;/i&gt;&lt;/span&gt;&lt;i&gt;connect(new Widget.KeyPressEvent() {&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;			&lt;/i&gt;&lt;/span&gt;&lt;i&gt;public boolean onKeyPressEvent(Widget source, EventKey event) {&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;				&lt;/i&gt;&lt;/span&gt;&lt;i&gt;return false;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;			&lt;/i&gt;&lt;/span&gt;&lt;i&gt;}&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;		&lt;/i&gt;&lt;/span&gt;&lt;i&gt;});&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;&lt;i&gt;        &lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;        connect(new Widget.KeyReleaseEvent() {&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;			&lt;/i&gt;&lt;/span&gt;&lt;i&gt;public boolean onKeyReleaseEvent(Widget source, EventKey event) {&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;				&lt;/i&gt;&lt;/span&gt;&lt;i&gt;return false;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;			&lt;/i&gt;&lt;/span&gt;&lt;i&gt;}&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;		&lt;/i&gt;&lt;/span&gt;&lt;i&gt;});&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;With the new closure syntax both calls would look the same:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;connect(#(Widget source, EventKey event) return false);&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I would guess there would be no way for the compiler to figure out in this case whether it is a KeyPressEvent or KeyReleaseEvent, making JDK 7 closures&lt;/div&gt;
&lt;div&gt;potentially unusable with Java-GNOME. Maybe there will be a need for actual event-specific connect methods?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;connectKeyPressEvent(#(Widget source, EventKey event) return false);&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;&lt;i&gt;connectKeyReleaseEvent(&lt;i&gt;#(Widget source, EventKey event) return false);&lt;/i&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal; &quot;&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Jacek&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26428018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Potential-issues-with-new-closures-in-JDK-7-tp26428018p26428018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26426902</id>
	<title>Re: [Java-gnome-developer] (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-19T05:38:42Z</published>
	<updated>2009-11-19T05:38:42Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">Andrew, I was thinking that the easiest solution to this would be to allow overriding the default .so prefix (i.e. &amp;quot;libgtkjni-&amp;quot;) with a different one via a command line property, e.g.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-DgnomePrefix=java-gnome-lib&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;or something along those lines. That way we could override the default &amp;quot;libgtkjni&amp;quot; during development (in Maven or whatever else) and let it fallback to the regular standard way&lt;/div&gt;&lt;div&gt;when the app is deployed on a distro.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I still like the approach of the .so embedded directly in the JAR, but if you&amp;#39;re strongly opposed to it I won&amp;#39;t push it any further.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers,&lt;/div&gt;&lt;div&gt;Jacek&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;
On Wed, Nov 18, 2009 at 6:55 PM, Jacek Furmankiewicz &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26426902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jacek99@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
I understand your point of view, but Maven and Ant (regardless of how you feel about them) are very typical&lt;br&gt;setups for any regular Java developer...the type of folks we would like to see more exposed to Java-GNOME&lt;br&gt;and interested in using it for developing apps.&lt;br&gt;

&lt;br&gt;I think we should maybe differentiate though between development time usage (Maven in my case) and deployment on distros (native packaging system).&lt;br&gt;It would be great to use Maven for developing JG apps (the whole setup makes it so easy)...actually getting them deployed is a&lt;br&gt;

different issue altogether and could alleviate a lot of your security concerns.&lt;br&gt;&lt;br&gt;I will continue this on the hackers list, as per your suggestion.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;Jacek&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26426902&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--Java-gnome-developer--%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26418063p26426902.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418065</id>
	<title>Re: (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-18T15:55:49Z</published>
	<updated>2009-11-18T15:55:49Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">I understand your point of view, but Maven and Ant (regardless of how you feel about them) are very typical&lt;br&gt;setups for any regular Java developer...the type of folks we would like to see more exposed to Java-GNOME&lt;br&gt;and interested in using it for developing apps.&lt;br&gt;
&lt;br&gt;I think we should maybe differentiate though between development time usage (Maven in my case) and deployment on distros (native packaging system).&lt;br&gt;It would be great to use Maven for developing JG apps (the whole setup makes it so easy)...actually getting them deployed is a&lt;br&gt;
different issue altogether and could alleviate a lot of your security concerns.&lt;br&gt;&lt;br&gt;I will continue this on the hackers list, as per your suggestion.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Jacek&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418065&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26340790p26418065.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418063</id>
	<title>Re: [Java-gnome-developer] (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-18T15:55:49Z</published>
	<updated>2009-11-18T15:55:49Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">I understand your point of view, but Maven and Ant (regardless of how you feel about them) are very typical&lt;br&gt;setups for any regular Java developer...the type of folks we would like to see more exposed to Java-GNOME&lt;br&gt;and interested in using it for developing apps.&lt;br&gt;
&lt;br&gt;I think we should maybe differentiate though between development time usage (Maven in my case) and deployment on distros (native packaging system).&lt;br&gt;It would be great to use Maven for developing JG apps (the whole setup makes it so easy)...actually getting them deployed is a&lt;br&gt;
different issue altogether and could alleviate a lot of your security concerns.&lt;br&gt;&lt;br&gt;I will continue this on the hackers list, as per your suggestion.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;Jacek&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A--Java-gnome-developer--%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26418063p26418063.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26417455</id>
	<title>Re: (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-18T14:16:14Z</published>
	<updated>2009-11-18T14:16:14Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">The Linux world is radically different that the others; if we want
&lt;br&gt;something installed on a system we build packages for it and depend on
&lt;br&gt;those. &amp;nbsp;So personally, I have no use for Maven because it is out-of-band
&lt;br&gt;of the system management infrastructure.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;Then there's a second issue, which is _executing_ Java programs, and
&lt;br&gt;Maven [nor Ivy, and don't even mention Ant] doesn't help with setting up
&lt;br&gt;the correct linking to run a Java program. This problem is much bigger
&lt;br&gt;than java-gnome; in fact, it's a horrid weakness in Java period. 
&lt;br&gt;&lt;br&gt;I've actually been giving talks about this at conferences for years; ie
&lt;br&gt;&lt;a href=&quot;http://www.operationaldynamics.com/reference/talks/Equivalence/Equivalence_Presentation.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.operationaldynamics.com/reference/talks/Equivalence/Equivalence_Presentation.html&lt;/a&gt;&lt;br&gt;(no you don't have to read that) and why I started with Equivalence. The
&lt;br&gt;idea was sound, but admittedly [and I'm quite embarrassed about this] it
&lt;br&gt;never made it past the bloated prototype that presently lives in it's
&lt;br&gt;fifth project and sixth projects, java-gnome &amp; slashtime. But frankly,
&lt;br&gt;the configure problem prefacing the build is not enough; its still no
&lt;br&gt;help running programs.
&lt;br&gt;&lt;br&gt;Five years later I actually have some radically new ideas about this,
&lt;br&gt;largely to do with not using .jars any more at all and instead using the
&lt;br&gt;native linking infrastructure to handle transitive dependencies, but
&lt;br&gt;that's a still just a prototype too. 
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;My principle and only concern for java-gnome is consistency of developer
&lt;br&gt;experience. I am &amp;nbsp;*constantly* on the case of distros encouraging them
&lt;br&gt;to _not_ do something different that the others when it comes to
&lt;br&gt;packaging java-gnome. If they do, then someone trying to develop — let
&lt;br&gt;alone ship &amp; package — their own work using java-gnome will be an
&lt;br&gt;inconsistent nightmare. 
&lt;br&gt;&lt;br&gt;Back to Maven, it is widely used in some places, making it [much to my
&lt;br&gt;chagrin] essentially a distro too. I'd be perfectly happy to ignore it.
&lt;br&gt;If people are going to insist on using it, though, then I'm certainly
&lt;br&gt;willing to listen to see what we can do to make sure that the experience
&lt;br&gt;if using Maven is comparable to depending on java-gnome properly from a
&lt;br&gt;distro package [or building it from source yourself, of course].
&lt;br&gt;&lt;br&gt;But not at the cost of corrupting the clean &amp; integrated experience we
&lt;br&gt;presently have for java-gnome &amp;quot;when installed on system&amp;quot; and &amp;quot;when built
&lt;br&gt;in-place&amp;quot;.
&lt;br&gt;&lt;br&gt;I was discussing this with Kenneth Prugh a few days ago, and he recalled
&lt;br&gt;the trouble we went to [and why] to get the .so loading the way it is
&lt;br&gt;now (there's was a thread on java-gnome-hackers about this at the time).
&lt;br&gt;We put a lot of effort in to make that work well, and tested the hell
&lt;br&gt;out of it. So it's not something I'm interested in screwing with.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;My aesthetic &amp; technical sense is that burying the .so in the .jar is
&lt;br&gt;not the right answer, but if we're going to address this it's an
&lt;br&gt;engineering issue that we need to get right for all distros, not just
&lt;br&gt;Maven.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;There is a third issue, Maven is a disaster for the security of the
&lt;br&gt;ecosystem.
&lt;br&gt;&lt;br&gt;Distros build their own binaries for a reason. I am not a supporter of
&lt;br&gt;upstreams releasing binaries, and I am even less enthusiastic about the
&lt;br&gt;idea of people using some Maven repo with some copy of java-gnome in it
&lt;br&gt;which we have no idea what was done to it, have no idea who made it, and
&lt;br&gt;have no idea if anyone is actively maintained it. I for one flat out
&lt;br&gt;refuse to run any program that sources binaries from the anonymous
&lt;br&gt;public Maven repositories. I have no idea, none at all, what code is in
&lt;br&gt;those binaries. And neither does anyone else. It's a *huge* security
&lt;br&gt;threat. The fact that many people use them doesn't change a thing.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;Finally, I would note that consistent experience is not just for people
&lt;br&gt;developing with the library; ensuring sane and consistent packaging is
&lt;br&gt;really important so that the maintainers of the library have a hope in
&lt;br&gt;hell of helping people who come to us with bugs.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;&amp;gt; I am not too happy about having to patch the code to get this to work
&lt;br&gt;&amp;gt; and I have a gut feeling Andrew likes it even less...any alternate
&lt;br&gt;&amp;gt; suggestions would be therefore welcome.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Engineering the library &amp; packaging it for distros is something we need
&lt;br&gt;to co-ordinate as a community, so if you want to pursue this please
&lt;br&gt;start a thread on java-gnome-hackers and leave this list for discussing
&lt;br&gt;how best to use GTK to develop rich user interfaces for GNOME desktops.
&lt;br&gt;&lt;br&gt;/me goes back to writing code.
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26417455&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26417455/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26340790p26417455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26385565</id>
	<title>Re: (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-16T23:33:45Z</published>
	<updated>2009-11-16T23:33:45Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">Yes, but that would create an artifact called &lt;a href=&quot;http://org-gnome-libgtkjni-4.0.13.so&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;org-gnome-libgtkjni-4.0.13.so&lt;/a&gt;, which would not load (since Plaform.loadNative() expects the standard naming format only). And it must be in the same folder as the jar, otherwise it wouldn&amp;#39;t load either.&lt;br&gt;
&lt;br&gt;Embedding the .so in the jar seemed the best idea (that&amp;#39;s how SWT does it), but requires the unfortunate patch. I tried a lot of different Maven tricks, but the hardcoded requirement of a particular file name in a particular folder was always the deal breaker....&lt;br&gt;
&lt;br&gt;I am not too happy about having to patch the code to get this to work and I have a gut feeling Andrew likes it even less...any alternate suggestions would be therefore welcome.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Nov 15, 2009 at 6:36 AM, Stefan Schweizer &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;steve.schweizer@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Fri, 2009-11-13 at 12:37 -0500, Jacek Furmankiewicz wrote:&lt;br&gt;
&amp;gt; I added the dependency on the utility mentioned in this entry and&lt;br&gt;
&amp;gt; modified loadNativeCode() to attempt loading the .so  directly from&lt;br&gt;
&amp;gt; the jar&amp;#39;s META-INF/lib (which is how I deploy it in the Maven repo).&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Have you tried declaring the libgtkjni.so as separate artifact with type&lt;br&gt;
&amp;#39;so&amp;#39;? I think something like this could work:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;lt;dependency&amp;gt;&lt;br&gt;
        &amp;lt;groupId&amp;gt;org.gnome&amp;lt;/groupId&amp;gt;&lt;br&gt;
&lt;/div&gt;        &amp;lt;artifactId&amp;gt;libgtkjni&amp;lt;/artifactId&amp;gt;&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;        &amp;lt;version&amp;gt;4.0.13&amp;lt;/version&amp;gt;&lt;br&gt;
&lt;/div&gt;        &amp;lt;type&amp;gt;so&amp;lt;/type&amp;gt;&lt;br&gt;
&amp;lt;/dependency&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
        Stefan&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;br&gt;
trial. Simplify your report design, integration and deployment - and focus on&lt;br&gt;
what you do best, core application coding. Discover what&amp;#39;s new with&lt;br&gt;
Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
java-gnome-developer mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385565&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385565&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26340790p26385565.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26364745</id>
	<title>Fwd:  Considering Trove</title>
	<published>2009-11-15T15:20:35Z</published>
	<updated>2009-11-15T15:20:35Z</updated>
	<author>
		<name>Leonardo-31</name>
	</author>
	<content type="html">---------- Forwarded message ----------
&lt;br&gt;From: Leonardo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26364745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sombriks@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: 2009/10/23
&lt;br&gt;Subject: Re: [java-gnome-hackers] Considering Trove
&lt;br&gt;To: Andrew Cowie &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26364745&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andrew@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;No Andrew,
&lt;br&gt;&lt;br&gt;Avoid to add another dependency,
&lt;br&gt;&lt;br&gt;See, java gnome is somewhat stable for some years in the java side,
&lt;br&gt;just adding dependencies in the gtk land.
&lt;br&gt;&lt;br&gt;You will have a finite ammount of widgets, i don't believe that one
&lt;br&gt;could do some nasty and stupid application able to blow the memory
&lt;br&gt;just with buttons, :P
&lt;br&gt;&lt;br&gt;if use primitives for keys still a good idea after fine tests don't
&lt;br&gt;add it as dependency, but extract it directly for java-gnome, and only
&lt;br&gt;that class.
&lt;br&gt;&lt;br&gt;belive me when i say that add another jar is a lot bad.
&lt;br&gt;&lt;br&gt;2009/10/23 Andrew Cowie &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26364745&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;andrew@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have for some time been very carefully watching the knownProxies
&lt;br&gt;&amp;gt; HashMap in [org.freedesktop.bindings] Plumbing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is the heart of java-gnome, mapping between our strong Java object
&lt;br&gt;&amp;gt; Proxy instances, and instantiated GObjects on the native side. Every
&lt;br&gt;&amp;gt; object [Widget, etc] that is created is stored there, in a &amp;lt;long, Proxy&amp;gt;
&lt;br&gt;&amp;gt; map.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now, of course, Java's general utility collections require boxing of
&lt;br&gt;&amp;gt; keys which means every addition and every query into that table creates
&lt;br&gt;&amp;gt; a Long object wrapping the long [pointer address] as key. Lot of
&lt;br&gt;&amp;gt; allocations for nothing, really, not to mention all the Map.Entry
&lt;br&gt;&amp;gt; objects that get created.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We have had memory pressure there before (which is why we split Proxy
&lt;br&gt;&amp;gt; into Proxy &amp; Pointer, for example). And while it's not the largest
&lt;br&gt;&amp;gt; hotspot we have right now, essentially *every single code path* in
&lt;br&gt;&amp;gt; java-gnome goes through this table.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As a result I have long speculated that we should replace the
&lt;br&gt;&amp;gt; [java.util] HashMap with something a bit smarter, preferably something
&lt;br&gt;&amp;gt; that takes long primitives as keys, not Long objects as keys.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ++
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; One possibility is the Trove project, a promising set of collections
&lt;br&gt;&amp;gt; that use different algorithms to the [java.util] ones, and which offer
&lt;br&gt;&amp;gt; sets and maps with native keys and/or values.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trove4j.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trove4j.sourceforge.net/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I did some experimentation and came up with a branch that uses their
&lt;br&gt;&amp;gt; TLongObjectHashMap for the knownProxies map. I uploaded it to
&lt;br&gt;&amp;gt; 'hackers/andrew/trove-external' so you can have a play if you're
&lt;br&gt;&amp;gt; interested. It will configure and build if you're on Ubuntu Karmic.
&lt;br&gt;&amp;gt; bzr://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/trove-external/
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Works fine; I'm still trying to figure out if it's an improvement [or
&lt;br&gt;&amp;gt; degradation] profiling wise (we need some better tools for this sort of
&lt;br&gt;&amp;gt; thing); doing compartive studies of GUI application performance is
&lt;br&gt;&amp;gt; notoriously hard, of course.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ++
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyway, there is a bigger question: should we use this, and if we do,
&lt;br&gt;&amp;gt; should we incur the cost of an external dependency?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is a non-trivial question. Not only would it mean &amp;quot;java-gnome build
&lt;br&gt;&amp;gt; depends on trove4j&amp;quot;, but of course *also* would mean requiring people to
&lt;br&gt;&amp;gt; express the location of the trove jar when trying to run a program built
&lt;br&gt;&amp;gt; with java-gnome; ie just to run a demo program I had to go from
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java -classpath /home/andrew/workspace/java-gnome/tmp/gtk-4.0.jar Experiment
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java -classpath /usr/share/java/trove-2.0.4.jar:/home/andrew/workspace/java-gnome/tmp/gtk-4.0.jar Experiment
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; {sigh}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [Java's design is so desperately lacking in this regard it's not even
&lt;br&gt;&amp;gt; funny; doing something about it is on my list of itches, but that's not
&lt;br&gt;&amp;gt; something any of us are going to fix overnight]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There is an alternative, and that would be to import the necessary
&lt;br&gt;&amp;gt; [gnu.trove] classes (only) into java-gnome, placing it say in
&lt;br&gt;&amp;gt; lib/dependencies/. I'm *not*a huge fan of this idea; I've spent enough
&lt;br&gt;&amp;gt; time as a Gentoo Java person to know how much effort we usually have to
&lt;br&gt;&amp;gt; spend ripping out embedded junits, jaxens, etc and how horrible static
&lt;br&gt;&amp;gt; linking is, etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Indeed, it's time Java people stopped being afraid of depending on each
&lt;br&gt;&amp;gt; other's code, so perhaps I should just bite the bullet, say &amp;quot;too bad&amp;quot;
&lt;br&gt;&amp;gt; and tell people that we now depend on this [or whichever] library. But
&lt;br&gt;&amp;gt; given that it is essentially just one single piece of Trove  that we
&lt;br&gt;&amp;gt; would be depending on, it is almost tempting to just embed it in our
&lt;br&gt;&amp;gt; code base.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ++
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyway, I'd welcome some discussion on all this, both on the topic of
&lt;br&gt;&amp;gt; the suitability of Trove's [gnu.trove] TLongObjectHashMap as a
&lt;br&gt;&amp;gt; replacement for Sun's [java.util] HashMap, and on the question of other
&lt;br&gt;&amp;gt; Java libraries as dependencies.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd like to thank Rob Eden, the current Trove maintainer, for his
&lt;br&gt;&amp;gt; guidance and encouragement.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; AfC
&lt;br&gt;&amp;gt; Sydney
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Andrew Frederick Cowie
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Operational Dynamics is an operations and engineering consultancy
&lt;br&gt;&amp;gt; focusing on IT strategy, organizational architecture, systems
&lt;br&gt;&amp;gt; review, and effective procedures for change management: enabling
&lt;br&gt;&amp;gt; successful deployment of mission critical information technology in
&lt;br&gt;&amp;gt; enterprises, worldwide.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.operationaldynamics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.operationaldynamics.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sydney   New York   Toronto   London
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;&amp;gt; is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;&amp;gt; developing skills, take BlackBerry mobile applications to market and stay
&lt;br&gt;&amp;gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; java-gnome-hackers mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26364745&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26364745&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Considering-Trove-tp26020986p26364745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26358337</id>
	<title>Re: (Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-15T03:36:20Z</published>
	<updated>2009-11-15T03:36:20Z</updated>
	<author>
		<name>Stefan Schweizer-4</name>
	</author>
	<content type="html">On Fri, 2009-11-13 at 12:37 -0500, Jacek Furmankiewicz wrote:
&lt;br&gt;&amp;gt; I added the dependency on the utility mentioned in this entry and
&lt;br&gt;&amp;gt; modified loadNativeCode() to attempt loading the .so &amp;nbsp;directly from
&lt;br&gt;&amp;gt; the jar's META-INF/lib (which is how I deploy it in the Maven repo). 
&lt;br&gt;&lt;br&gt;Have you tried declaring the libgtkjni.so as separate artifact with type
&lt;br&gt;'so'? I think something like this could work:
&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.gnome&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;libgtkjni&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;4.0.13&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;type&amp;gt;so&amp;lt;/type&amp;gt;
&lt;br&gt;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Stefan
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26358337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26340790p26358337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26340790</id>
	<title>(Hacked) version of 4.0.13 in Maven repo</title>
	<published>2009-11-13T09:37:18Z</published>
	<updated>2009-11-13T09:37:18Z</updated>
	<author>
		<name>Jacek</name>
	</author>
	<content type="html">I wanted to try to deploy Java-GNOME 4.0.13 in a Maven repo, so that it could be easily used in Maven-based projects.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It turned out to be far more complicated than I thought, due to the native library issues.&lt;/div&gt;
&lt;div&gt;In particular, the way Plumbing.loadNativeCode() works on startup.&lt;/div&gt;&lt;div&gt;It works well when Java-GNOME is installed a system lib, but not well when it&amp;#39;s a Maven lib in a local Maven repository.&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;I found this interesting blog entry on how to Mavenize JARs with embedded JNI libraries in them:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://docs.codehaus.org/display/MAVENUSER/Projects+With+JNI&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.codehaus.org/display/MAVENUSER/Projects+With+JNI&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I added the dependency on the utility mentioned in this entry and modified loadNativeCode() to attempt loading the .so &lt;/div&gt;&lt;div&gt;directly from the jar&amp;#39;s META-INF/lib (which is how I deploy it in the Maven repo).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;        //attempt to load from JAR&lt;/div&gt;&lt;div&gt;        try {&lt;/div&gt;&lt;div&gt;        &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;NativeLoader.loadLibrary(&amp;quot;gtkjni-&amp;quot; + getVersion());&lt;/div&gt;
&lt;div&gt;        &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;return;&lt;/div&gt;&lt;div&gt;        } catch (Throwable ex) {&lt;/div&gt;&lt;div&gt;        &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;System.out.println(&amp;quot;Failed to load from JAR: &amp;quot; + ex.getMessage());&lt;/div&gt;
&lt;div&gt;        &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;//ignore&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;It works perfectly, but it is unfortunately a fork of the current logic.&lt;/div&gt;&lt;div&gt;However, this makes it very easy to use in maven projects, just add this to your pom.xml:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My Maven repo:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;repositories&amp;gt; &lt;/div&gt;&lt;div&gt;        &amp;lt;repository&amp;gt; &lt;/div&gt;&lt;div&gt;                &amp;lt;id&amp;gt;javabuilders&amp;lt;/id&amp;gt; &lt;/div&gt;&lt;div&gt;                &amp;lt;url&amp;gt;&lt;a href=&quot;http://javabuilders.googlecode.com/svn/repo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://javabuilders.googlecode.com/svn/repo&lt;/a&gt;&amp;lt;/url&amp;gt; &lt;/div&gt;
&lt;div&gt;        &amp;lt;/repository&amp;gt; &lt;/div&gt;&lt;div&gt;&amp;lt;/repositories&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The Java-GNOME dependency:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;  &amp;lt;dependencies&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;dependency&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;groupId&amp;gt;org.gnome&amp;lt;/groupId&amp;gt;&lt;/div&gt;
&lt;div&gt;      &amp;lt;artifactId&amp;gt;java-gnome-linux-x86&amp;lt;/artifactId&amp;gt;&lt;/div&gt;&lt;div&gt;      &amp;lt;version&amp;gt;4.0.13&amp;lt;/version&amp;gt;&lt;/div&gt;&lt;div&gt;    &amp;lt;/dependency&amp;gt;&lt;/div&gt;&lt;div&gt;  &amp;lt;/dependencies&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;That&amp;#39;s all. Now you can just create Java-GNOME on Linux x86 apps and since the .so is embedded directly in the JAR itself it loads transparently.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The Maven project I use to deploy it is in my github repo:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://github.com/jacek99/java-gnome-maven&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jacek99/java-gnome-maven&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Obviously, this is an experiment, but it seems to work very well and makes it easy to create Java-GNOME apps by removing the complications&lt;/div&gt;
&lt;div&gt;related to the native shared library. Theoretically, we could even embed copies of it for all platforms (sort of a fat binary) and then intelligently&lt;/div&gt;&lt;div&gt;load the one we need based on the current platform.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I look forward to any feedback from the community: love it, hate it, etc.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers,&lt;/div&gt;&lt;div&gt;Jacek&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26340790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%28Hacked%29-version-of-4.0.13-in-Maven-repo-tp26340790p26340790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26329938</id>
	<title>Superscripts</title>
	<published>2009-11-12T17:54:13Z</published>
	<updated>2009-11-12T17:54:13Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">Have you ever written something where you put a footnote immediately
&lt;br&gt;after an exponent?
&lt;br&gt;&lt;br&gt;I've got 6 × 10²⁴ in a document (note the use of U+2074 for the '⁴'
&lt;br&gt;character).
&lt;br&gt;&lt;br&gt;Would you ever have a case where after the ⁴ there was a superscripted
&lt;br&gt;footnote, say 1 or † ?
&lt;br&gt;&lt;br&gt;The question arises because, for exponents, one can use the unicode
&lt;br&gt;superscript numerals to good effect, whereas for the general
&lt;br&gt;superscripted footnote you can't get away with it (dagger being a good
&lt;br&gt;example why) and need to manually use a smaller font &amp; set a rise, etc
&lt;br&gt;&lt;br&gt;Doing this manually with java-gnome isn't a problem; when drawing with
&lt;br&gt;Pango you use a SizeAttribute and a RiseAttribute and you're on your
&lt;br&gt;way.
&lt;br&gt;&lt;a href=&quot;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/pango/SizeAttribute.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/pango/SizeAttribute.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/pango/RiseAttribute.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/pango/RiseAttribute.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;(the caveats of
&lt;br&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Subscript_and_superscript&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Subscript_and_superscript&lt;/a&gt;&lt;br&gt;notwithstanding; I don't know of any libre fonts that have proper
&lt;br&gt;typographic support for all upper and lower case latin characters (let
&lt;br&gt;alone any other language, so you're stuck with doing it yourself if you
&lt;br&gt;want other than 1-9 super or sub)
&lt;br&gt;&lt;br&gt;As far as I can tell, footnotes and exponents are the only time one
&lt;br&gt;actually _uses_ superscript. And I've never seen a footnote beside an
&lt;br&gt;exponent in anything I've ever done.
&lt;br&gt;&lt;br&gt;A screenshot with a whack of artificial footnotes &amp; citations is at
&lt;br&gt;&lt;a href=&quot;http://research.operationaldynamics.com/files/andrew/FootnotesAndExponents.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://research.operationaldynamics.com/files/andrew/FootnotesAndExponents.png&lt;/a&gt;&lt;br&gt;as you can see the only weird one is the footnote after the 10^24
&lt;br&gt;exponent. But other than that it all seems really sane (especially
&lt;br&gt;footnote #42, which was the original one when I was laying out the
&lt;br&gt;typography). The point is kinda to de-emphasize the notes markers,
&lt;br&gt;frankly, and that seems to be successful. The exponents, on the other
&lt;br&gt;hand, really does look good with the Unicode superscript characters.
&lt;br&gt;&lt;br&gt;Anyway I thought I'd see if anyone cared to offer views on the topic.
&lt;br&gt;&lt;br&gt;Cheers :)
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26329938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26329938/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Superscripts-tp26329938p26329938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26328871</id>
	<title>Release imminent</title>
	<published>2009-11-12T15:56:01Z</published>
	<updated>2009-11-12T15:56:01Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">It's about time we did a java-gnome 4.0.14 release.
&lt;br&gt;&lt;br&gt;If you care about API additions, etc then grab current 'mainline' and
&lt;br&gt;do:
&lt;br&gt;&lt;br&gt;$ bzr diff -r tag:v.4.0.13
&lt;br&gt;&lt;br&gt;and of course:
&lt;br&gt;&lt;br&gt;$ bzr log -r tag:v4.0.13..
&lt;br&gt;&lt;br&gt;will tell you in gory detail :)
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;Srichand has alerted us to a really hair problem to do with some Java
&lt;br&gt;implementations being unable to differentiate between deprecated inner
&lt;br&gt;interface Button.CLICKED and the replacement Button.Clicked. This is
&lt;br&gt;mildly extraordinary.
&lt;br&gt;&lt;br&gt;Since these deprecations have been in place for well over a year [and
&lt;br&gt;with assertions enabled you can't even use the code paths in question],
&lt;br&gt;I'm willing to see the old code removed. The discussion just before
&lt;br&gt;4.0.13 about API versions applies again, and although I was going to
&lt;br&gt;remove this code when we bumped to 4.1, I'm not otherwise that worried
&lt;br&gt;about it; no one with public code is using the old signatures and so I
&lt;br&gt;think we can stick with 4.0
&lt;br&gt;&lt;br&gt;When we decide about this I'll cut a release candidate tarball.
&lt;br&gt;&lt;br&gt;++
&lt;br&gt;&lt;br&gt;If someone wants a bit of an easy challenge, maybe they could have a go
&lt;br&gt;on the 'deprecated-2.16' work? See:
&lt;br&gt;&lt;a href=&quot;http://article.gmane.org/gmane.comp.gnome.bindings.java.devel/1330&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://article.gmane.org/gmane.comp.gnome.bindings.java.devel/1330&lt;/a&gt;&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Frederick Cowie
&lt;br&gt;&lt;br&gt;Operational Dynamics is an operations and engineering consultancy
&lt;br&gt;focusing on IT strategy, organizational architecture, systems
&lt;br&gt;review, and effective procedures for change management: enabling
&lt;br&gt;successful deployment of mission critical information technology in
&lt;br&gt;enterprises, worldwide.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.operationaldynamics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.operationaldynamics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Sydney &amp;nbsp; New York &amp;nbsp; Toronto &amp;nbsp; London
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26328871&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26328871/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Release-imminent-tp26328871p26328871.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26301158</id>
	<title>Re: GConf binding status</title>
	<published>2009-11-11T05:23:36Z</published>
	<updated>2009-11-11T05:23:36Z</updated>
	<author>
		<name>hwiechers</name>
	</author>
	<content type="html">Andrew Cowie &amp;lt;andrew@...&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Mon, 2009-11-09 at 16:36 +1100, Andrew Cowie wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Branch at 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (and I just looked and realized I have a large-ish patch sitting
&lt;br&gt;&amp;gt; uncommitted in a Working Tree from that Branch here. Clearly I wasn't
&lt;br&gt;&amp;gt; happy about the way things were working out, but that was a long time
&lt;br&gt;&amp;gt; ago. If someone really does want to work on this, I'll throw it into a
&lt;br&gt;&amp;gt; bundle and we can talk about it on the java-gnome-hackers mailing list)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; AfC
&lt;br&gt;&amp;gt; Cape Byron
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I'm going to wait for GSettings stuff to land. I can live without
&lt;br&gt;those bindings at the moment.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Henri
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26301158&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GConf-binding-status-tp26251361p26301158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295824</id>
	<title>Re: GConf binding status</title>
	<published>2009-11-08T22:08:57Z</published>
	<updated>2009-11-08T22:08:57Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">On Mon, 2009-11-09 at 16:36 +1100, Andrew Cowie wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Branch at 
&lt;br&gt;&lt;br&gt;(and I just looked and realized I have a large-ish patch sitting
&lt;br&gt;uncommitted in a Working Tree from that Branch here. Clearly I wasn't
&lt;br&gt;happy about the way things were working out, but that was a long time
&lt;br&gt;ago. If someone really does want to work on this, I'll throw it into a
&lt;br&gt;bundle and we can talk about it on the java-gnome-hackers mailing list)
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Cape Byron
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26295824/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GConf-binding-status-tp26251361p26295824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261532</id>
	<title>Re: GConf binding status</title>
	<published>2009-11-08T21:36:01Z</published>
	<updated>2009-11-08T21:36:01Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">On Sun, 2009-11-08 at 06:44 +0000, Henri Wiechers wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What the status of the GConf bindings? Is it in java-gnome 4.0?
&lt;br&gt;&lt;br&gt;Very quickly [because I have 3.5 minutes of time left in the internet
&lt;br&gt;cafe I'm in :)]
&lt;br&gt;&lt;br&gt;I started trying to get a GConf binding together oh, about a year ago.
&lt;br&gt;It wasn't as easy as I would have liked; type safety was elusive.
&lt;br&gt;&lt;br&gt;Branch at 
&lt;br&gt;&lt;a href=&quot;http://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/gconf/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/gconf/&lt;/a&gt;&lt;br&gt;&lt;br&gt;*BUT*
&lt;br&gt;&lt;br&gt;The GNOME community is on the cusp of replacing GConf with dconf +
&lt;br&gt;GSettings [see desktop-devel-list] so maybe we should just wait-out on
&lt;br&gt;this. Hard to say.
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Cape Byron
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew Frederick Cowie
&lt;br&gt;&lt;br&gt;Operational Dynamics is an operations and engineering consultancy
&lt;br&gt;focusing on IT strategy, organizational architecture, systems
&lt;br&gt;review, and effective procedures for change management: enabling
&lt;br&gt;successful deployment of mission critical information technology in
&lt;br&gt;enterprises, worldwide.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.operationaldynamics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.operationaldynamics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Sydney &amp;nbsp; New York &amp;nbsp; Toronto &amp;nbsp; London
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261532&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26261532/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GConf-binding-status-tp26251361p26261532.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251361</id>
	<title>GConf binding status</title>
	<published>2009-11-07T22:44:37Z</published>
	<updated>2009-11-07T22:44:37Z</updated>
	<author>
		<name>hwiechers</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;What the status of the GConf bindings? Is it in java-gnome 4.0?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Henri Wiechers
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26251361&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GConf-binding-status-tp26251361p26251361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26148313</id>
	<title>Re: How can I add a left-aligned button to Dialog?</title>
	<published>2009-10-31T22:02:10Z</published>
	<updated>2009-10-31T22:02:10Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">On Sat, 2009-10-31 at 14:03 -0500, Thura wrote:
&lt;br&gt;&amp;gt; I am writing a dialog, in which the &amp;quot;close&amp;quot; button is aligned to the
&lt;br&gt;&amp;gt; left, like other gtk+ applications.
&lt;br&gt;&lt;br&gt;It's a HIG requirement.
&lt;br&gt;&lt;br&gt;More accurately, dialogs in GNOME user interfaces all have their common
&lt;br&gt;case, go forward action being the right-most, while which button is set
&lt;br&gt;as default (ie, what happens if you press Enter) depends on the
&lt;br&gt;severity.
&lt;br&gt;&lt;br&gt;Anyway,
&lt;br&gt;&lt;br&gt;&amp;gt; But I haven't found a way how to do it.
&lt;br&gt;&lt;br&gt;Sounds like you want MessageDialog. It's easy enough to drive, but we
&lt;br&gt;have some useful subclasses which make it even easier to Do The Right
&lt;br&gt;Thing.
&lt;br&gt;&lt;br&gt;Have a look at QuestionMessageDialog:
&lt;br&gt;&lt;a href=&quot;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/QuestionMessageDialog.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/QuestionMessageDialog.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;or more likely WarningMessageDialog:
&lt;br&gt;&lt;a href=&quot;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/WarningMessageDialog.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/WarningMessageDialog.html&lt;/a&gt;&lt;br&gt;[hm, that needs a screenshot. Anyone want to contribute?]
&lt;br&gt;&lt;br&gt;should do the trick for you.
&lt;br&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26148313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26148313/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-I-add-a-left-aligned-button-to-Dialog--tp26145074p26148313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26148293</id>
	<title>Re: jWeatherWatch</title>
	<published>2009-10-31T21:54:21Z</published>
	<updated>2009-10-31T21:54:21Z</updated>
	<author>
		<name>Andrew Cowie</name>
	</author>
	<content type="html">On Sat, 2009-10-31 at 15:19 +0100, Patrick von Reth wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I know mixing swing&amp;awt &amp;nbsp;with java-gnome is supported
&lt;br&gt;&lt;br&gt;That's right. You can't have two different toolkits both trying to drive
&lt;br&gt;GTK.
&lt;br&gt;&lt;br&gt;If you use java-gnome to write your UI in GTK, then you won't have any
&lt;br&gt;problems. Then you can use our libnotify package.
&lt;br&gt;&lt;br&gt;AfC
&lt;br&gt;Sydney
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26148293&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26148293/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jWeatherWatch-tp26142732p26148293.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26145074</id>
	<title>How can I add a left-aligned button to Dialog?</title>
	<published>2009-10-31T12:03:42Z</published>
	<updated>2009-10-31T12:03:42Z</updated>
	<author>
		<name>thura</name>
	</author>
	<content type="html">I am writing a dialog, in which the &amp;quot;close&amp;quot; button is aligned to the left, like other gtk+ applications.&lt;br&gt;But I haven&amp;#39;t found a way how to do it. Any clues?&lt;br&gt;&lt;br&gt;Thura&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26145074&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-can-I-add-a-left-aligned-button-to-Dialog--tp26145074p26145074.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26142993</id>
	<title>Re: jWeatherWatch</title>
	<published>2009-10-31T07:53:35Z</published>
	<updated>2009-10-31T07:53:35Z</updated>
	<author>
		<name>Patrick von Reth</name>
	</author>
	<content type="html">I just runned my application on my laptop and everything worked fine. The laptop is running with Kubuntu karmic x86 my desktop pc is running Kubuntu karmic x64 the installed java-gnome package is the one from the repository.&lt;div&gt;

So maybe its a bug in the x64 build of java-gnome?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Greetings&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Patrick von Reth&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/10/31 Patrick von Reth &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26142993&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;patrick@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hi,&lt;div&gt;I&amp;#39;m developing the &lt;a href=&quot;http://code.google.com/p/jweatherwatch/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;jWeatherWatch&lt;/a&gt; watch in my free time and a view weeks ago I discovered java-gnome which supports an easy way to use libnotify.&lt;/div&gt;

&lt;div&gt;I know mixing swing&amp;amp;awt  with java-gnome is not official supported but it works almost great.&lt;/div&gt;
&lt;div&gt;After I solved a Gthread error when I initialized java-gnome after a TrayIcon notification the only unsolved issue is &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&amp;quot;The program &amp;#39;jWeatherWatch&amp;#39; received an X Window System error.&lt;/i&gt;&lt;/div&gt;


&lt;div&gt;&lt;i&gt;This probably reflects a bug in the program.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;The error was &amp;#39;BadMatch (invalid parameter attributes)&amp;#39;.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;  (Details: serial 2493 error_code 8 request_code 146 minor_code 4)&lt;/i&gt;&lt;/div&gt;


&lt;div&gt;&lt;i&gt;  (Note to programmers: normally, X errors are reported asynchronously;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   that is, you will receive the error a while after causing it.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   To debug your program, run it with the --sync command line&lt;/i&gt;&lt;/div&gt;


&lt;div&gt;&lt;i&gt;   option to change this behavior. You can then get a meaningful&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   backtrace from your debugger if you break on the gdk_x_error() function.)&amp;quot;.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;It always appears in the settings dialog, clicking on &amp;quot;OK&amp;quot;, &amp;quot;Apply&amp;quot;, or switching to the &amp;quot;MinimalView&amp;quot; tab. Is this a bug or just a incompatibility of java-gnome and swing/awt?&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Src of &lt;a href=&quot;http://code.google.com/p/jweatherwatch/source/browse/trunk/src/gui/settings/SettingsDialog.java&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;SettingsDialog&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;

Greetings&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Patrick von Reth&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26142993&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jWeatherWatch-tp26142732p26142993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26142732</id>
	<title>jWeatherWatch</title>
	<published>2009-10-31T07:19:03Z</published>
	<updated>2009-10-31T07:19:03Z</updated>
	<author>
		<name>Patrick von Reth</name>
	</author>
	<content type="html">Hi,&lt;div&gt;I&amp;#39;m developing the &lt;a href=&quot;http://code.google.com/p/jweatherwatch/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jWeatherWatch&lt;/a&gt; watch in my free time and a view weeks ago I discovered java-gnome which supports an easy way to use libnotify.&lt;/div&gt;&lt;div&gt;I know mixing swing&amp;amp;awt  with java-gnome is not official supported but it works almost great.&lt;/div&gt;

&lt;div&gt;After I solved a Gthread error when I initialized java-gnome after a TrayIcon notification the only unsolved issue is &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&amp;quot;The program &amp;#39;jWeatherWatch&amp;#39; received an X Window System error.&lt;/i&gt;&lt;/div&gt;

&lt;div&gt;&lt;i&gt;This probably reflects a bug in the program.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;The error was &amp;#39;BadMatch (invalid parameter attributes)&amp;#39;.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;  (Details: serial 2493 error_code 8 request_code 146 minor_code 4)&lt;/i&gt;&lt;/div&gt;

&lt;div&gt;&lt;i&gt;  (Note to programmers: normally, X errors are reported asynchronously;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   that is, you will receive the error a while after causing it.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   To debug your program, run it with the --sync command line&lt;/i&gt;&lt;/div&gt;

&lt;div&gt;&lt;i&gt;   option to change this behavior. You can then get a meaningful&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;   backtrace from your debugger if you break on the gdk_x_error() function.)&amp;quot;.&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;It always appears in the settings dialog, clicking on &amp;quot;OK&amp;quot;, &amp;quot;Apply&amp;quot;, or switching to the &amp;quot;MinimalView&amp;quot; tab. Is this a bug or just a incompatibility of java-gnome and swing/awt?&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Src of &lt;a href=&quot;http://code.google.com/p/jweatherwatch/source/browse/trunk/src/gui/settings/SettingsDialog.java&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;SettingsDialog&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Greetings&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Patrick von Reth&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-developer mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26142732&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-developer@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-developer&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jWeatherWatch-tp26142732p26142732.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26084242</id>
	<title>Re: ComboBox Events bug?</title>
	<published>2009-10-27T13:36:57Z</published>
	<updated>2009-10-27T13:36:57Z</updated>
	<author>
		<name>Ivan Baldo</name>
	</author>
	<content type="html">I went ahead and created a bug for this just in case: &lt;a href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=599076&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.gnome.org/show_bug.cgi?id=599076&lt;/a&gt;.
&lt;br&gt;Thanks!&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---General-f1288.html&quot; embed=&quot;fixTarget[1288]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ComboBox-Events-bug--tp2816980p26084242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26048399</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T08:23:54Z</published>
	<updated>2009-10-25T08:23:54Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Edit the file &amp;nbsp;jni/bindings_java.h and add the following include after 
&lt;br&gt;&amp;gt; the other ones already there:
&lt;br&gt;&amp;gt; #include &amp;lt;gdk/gdkx.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Emmanuel Rodriguez
&lt;br&gt;Emmanuel, You nailed it !
&lt;br&gt;That worked \o/
&lt;br&gt;&lt;br&gt;Bad damn, I've been spending too much time for nothing... X is still 
&lt;br&gt;giving a BadWindow...
&lt;br&gt;Anyway I better digg a bit arround this :)
&lt;br&gt;&lt;br&gt;Thanks for help emmanuel ;)
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26048399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26048684</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T07:59:20Z</published>
	<updated>2009-10-25T07:59:20Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Goundy wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Oct 25, 2009 at 2:57 PM, Goundy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048684&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048684&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Are you sure then that eclipse is picking up the right
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gtkjini.so file?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Did you install your new bindings?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Oh my! when I rebuild my branch, actually my method is being
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; erased as the GdkDrawable file gets replace by the new generated
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; one which doesn't contain my method.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; I guess I have to edit the source .def file to keep my method 
&lt;br&gt;&amp;gt;&amp;gt; right ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think so, I haven't used the java-gnome bindings in a long time.
&lt;br&gt;&amp;gt;&amp;gt; I wish that someone else that's using the bindings could help you :(
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Emmanuel Rodriguez
&lt;br&gt;&amp;gt; Okay thank you Emmanuel, you helped a lot :P
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, the generator is giving me:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;static final FIXME getXid(Drawable self) throws 
&lt;br&gt;&amp;gt; BlacklistedMethodError {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new BlacklistedMethodError(&amp;quot;long&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and I have the following code in GdkDrawable.defs:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (define-method get_xid
&lt;br&gt;&amp;gt; &amp;nbsp;(of-object &amp;quot;GdkDrawable&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp;(c-name &amp;quot;gdk_x11_drawable_get_xid&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp;(caller-owns-return #t)
&lt;br&gt;&amp;gt; &amp;nbsp;(return-type &amp;quot;long&amp;quot;)
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Am I missing something here ?
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;/div&gt;Oh I get the correct one :P
&lt;br&gt;(define-method get_xid
&lt;br&gt;&amp;nbsp; (of-object &amp;quot;GdkDrawable&amp;quot;)
&lt;br&gt;&amp;nbsp; (c-name &amp;quot;gdk_x11_drawable_get_xid&amp;quot;)
&lt;br&gt;&amp;nbsp; (caller-owns-return #t)
&lt;br&gt;&amp;nbsp; (return-type &amp;quot;gulong&amp;quot;)
&lt;br&gt;)
&lt;br&gt;Is fine, it gives:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; static final long getXid(Drawable self) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long result;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (self == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new IllegalArgumentException(&amp;quot;self can't be null&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; synchronized (lock) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result = gdk_x11_drawable_get_xid(pointerOf(self));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return result;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; private static native final long gdk_x11_drawable_get_xid(long self);
&lt;br&gt;&lt;br&gt;But when I build java-gnome I get:
&lt;br&gt;generated/bindings/org/gnome/gdk/GdkDrawable.c: In function 
&lt;br&gt;'Java_org_gnome_gdk_GdkDrawable_gdk_1x11_1drawable_1get_1xid':
&lt;br&gt;generated/bindings/org/gnome/gdk/GdkDrawable.c:1044: error: implicit 
&lt;br&gt;declaration of function 'gdk_x11_drawable_get_xid'
&lt;br&gt;compilation terminated due to -Wfatal-errors.
&lt;br&gt;make: *** [build-java] Error 1
&lt;br&gt;&lt;br&gt;Which is really weird...
&lt;br&gt;Ideas are welcome :)
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048684&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26048684.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26048438</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T07:43:25Z</published>
	<updated>2009-10-25T07:43:25Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Emmanuel Rodriguez wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sun, Oct 25, 2009 at 2:57 PM, Goundy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048438&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048438&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Are you sure then that eclipse is picking up the right
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gtkjini.so file?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Did you install your new bindings?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Oh my! when I rebuild my branch, actually my method is being
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; erased as the GdkDrawable file gets replace by the new generated
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; one which doesn't contain my method.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I guess I have to edit the source .def file to keep my method right ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think so, I haven't used the java-gnome bindings in a long time.
&lt;br&gt;&amp;gt; I wish that someone else that's using the bindings could help you :(
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Emmanuel Rodriguez
&lt;/div&gt;Okay thank you Emmanuel, you helped a lot :P
&lt;br&gt;&lt;br&gt;Well, the generator is giving me:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; static final FIXME getXid(Drawable self) throws BlacklistedMethodError {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new BlacklistedMethodError(&amp;quot;long&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;and I have the following code in GdkDrawable.defs:
&lt;br&gt;&lt;br&gt;(define-method get_xid
&lt;br&gt;&amp;nbsp; (of-object &amp;quot;GdkDrawable&amp;quot;)
&lt;br&gt;&amp;nbsp; (c-name &amp;quot;gdk_x11_drawable_get_xid&amp;quot;)
&lt;br&gt;&amp;nbsp; (caller-owns-return #t)
&lt;br&gt;&amp;nbsp; (return-type &amp;quot;long&amp;quot;)
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;Am I missing something here ?
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048438&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26048438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26048398</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T07:12:28Z</published>
	<updated>2009-10-25T07:12:28Z</updated>
	<author>
		<name>Emmanuel Rodriguez</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Oct 25, 2009 at 3:59 PM, Goundy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048398&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Goundy wrote:&lt;br&gt;
&amp;gt; and I have the following code in GdkDrawable.defs:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; (define-method get_xid&lt;br&gt;
&amp;gt;  (of-object &amp;quot;GdkDrawable&amp;quot;)&lt;br&gt;
&amp;gt;  (c-name &amp;quot;gdk_x11_drawable_get_xid&amp;quot;)&lt;br&gt;
&amp;gt;  (caller-owns-return #t)&lt;br&gt;
&amp;gt;  (return-type &amp;quot;long&amp;quot;)&lt;br&gt;
&amp;gt; )&lt;br&gt;
&amp;gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div&gt;&lt;div class=&quot;h5&quot;&gt;
&amp;gt; Am I missing something here ?&lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;Oh I get the correct one :P&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;(define-method get_xid&lt;br&gt;
  (of-object &amp;quot;GdkDrawable&amp;quot;)&lt;br&gt;
  (c-name &amp;quot;gdk_x11_drawable_get_xid&amp;quot;)&lt;br&gt;
  (caller-owns-return #t)&lt;br&gt;
&lt;/div&gt;  (return-type &amp;quot;gulong&amp;quot;)&lt;br&gt;
)&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;That fix the first problem: the function is now generated.&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Is fine, it gives:&lt;br&gt;
&lt;br&gt;
    static final long getXid(Drawable self) {&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;        long result;&lt;br&gt;
&lt;br&gt;
        if (self == null) {&lt;br&gt;
            throw new IllegalArgumentException(&amp;quot;self can&amp;#39;t be null&amp;quot;);&lt;br&gt;
        }&lt;br&gt;
&lt;br&gt;
        synchronized (lock) {&lt;br&gt;
&lt;/div&gt;            result = gdk_x11_drawable_get_xid(pointerOf(self));&lt;br&gt;
&lt;br&gt;
            return result;&lt;br&gt;
        }&lt;br&gt;
    }&lt;br&gt;
&lt;br&gt;
    private static native final long gdk_x11_drawable_get_xid(long self);&lt;br&gt;
&lt;br&gt;
But when I build java-gnome I get:&lt;br&gt;
generated/bindings/org/gnome/gdk/GdkDrawable.c: In function&lt;br&gt;
&amp;#39;Java_org_gnome_gdk_GdkDrawable_gdk_1x11_1drawable_1get_1xid&amp;#39;:&lt;br&gt;
generated/bindings/org/gnome/gdk/GdkDrawable.c:1044: error: implicit&lt;br&gt;
declaration of function &amp;#39;gdk_x11_drawable_get_xid&amp;#39;&lt;br&gt;
compilation terminated due to -Wfatal-errors.&lt;br&gt;
make: *** [build-java] Error 1&lt;br&gt;
&lt;br&gt;
Which is really weird...&lt;br&gt;
Ideas are welcome :)&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;Edit the file  jni/bindings_java.h and add the following include after the other ones already there:&lt;br&gt;#include &amp;lt;gdk/gdkx.h&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;Emmanuel Rodriguez&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048398&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26048398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26048694</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T06:40:30Z</published>
	<updated>2009-10-25T06:40:30Z</updated>
	<author>
		<name>Emmanuel Rodriguez</name>
	</author>
	<content type="html">On Sun, Oct 25, 2009 at 2:57 PM, Goundy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048694&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Emmanuel Rodriguez wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Are you sure then that eclipse is picking up the right gtkjini.so file?&lt;br&gt;
Did you install your new bindings?&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
Oh my! when I rebuild my branch, actually my method is being erased as the GdkDrawable file gets replace by the new generated one which doesn&amp;#39;t contain my method.&lt;br&gt;
I guess I have to edit the source .def file to keep my method right ?&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;I think so, I haven&amp;#39;t used the java-gnome bindings in a long time.&lt;br&gt;I wish that someone else that&amp;#39;s using the bindings could help you :(&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Emmanuel Rodriguez&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26048694&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26048694.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26047589</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T05:58:04Z</published>
	<updated>2009-10-25T05:58:04Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you sure then that eclipse is picking up the right gtkjini.so file?
&lt;br&gt;&amp;gt; Did you install your new bindings?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Oh my! when I rebuild my branch, actually my method is being erased as 
&lt;br&gt;the GdkDrawable file gets replace by the new generated one which doesn't 
&lt;br&gt;contain my method.
&lt;br&gt;I guess I have to edit the source .def file to keep my method right ?
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047589&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26047589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26047514</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T05:49:13Z</published>
	<updated>2009-10-25T05:49:13Z</updated>
	<author>
		<name>Emmanuel Rodriguez</name>
	</author>
	<content type="html">On Sun, Oct 25, 2009 at 2:42 PM, Goundy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047514&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;Emmanuel Rodriguez wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
No exactly, this just means that you have the libraries installed, but java-gnome might not be using them (linked).&lt;br&gt;
&lt;br&gt;
Check with ldd if the java-gnome .so is linked with  gdk-x11&lt;br&gt;
   ldd tmp/libgtkjni-*.so | grep gdk-x11-2.0&lt;br&gt;
&lt;br&gt;
If ldd doesn&amp;#39;t show the file then it isn&amp;#39;t linked. Try to link it your self by hand:&lt;br&gt;
  rm tmp/libgtkjni-*.so&lt;br&gt;
  LDFLAGS=`pkg-config --libs gdk-x11-2.0` build/faster&lt;br&gt;
&lt;br&gt;
If ldd shows the file in the dependency list then there&amp;#39;s something strange going on.&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;
goundy@localhost ~/java-gnome/working/tmp $ ldd &lt;a href=&quot;http://libgtkjni-4.0.12-dev.so&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;libgtkjni-4.0.12-dev.so&lt;/a&gt;  | grep gdk-x11&lt;br&gt;
   libgdk-x11-2.0.so.0 =&amp;gt; /usr/lib/libgdk-x11-2.0.so.0 (0xb78ec000)&lt;br&gt;
that&amp;#39;s odd :°)&lt;br&gt;
Btw, I haven&amp;#39;t modified any .def file yet, I just added the new accessor in GdkDrawable.java and then linked (in eclipse) the java-gnome project to my testing project.&lt;br&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;div&gt;Are you sure then that eclipse is picking up the right gtkjini.so file?&lt;br&gt;
Did you install your new bindings? &lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- &lt;br&gt;Emmanuel Rodriguez&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047514&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26047514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26047464</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T05:43:35Z</published>
	<updated>2009-10-25T05:43:35Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Emmanuel Rodriguez wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; No exactly, this just means that you have the libraries installed, but 
&lt;br&gt;&amp;gt; java-gnome might not be using them (linked).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Check with ldd if the java-gnome .so is linked with &amp;nbsp;gdk-x11
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;ldd tmp/libgtkjni-*.so | grep gdk-x11-2.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If ldd doesn't show the file then it isn't linked. Try to link it your 
&lt;br&gt;&amp;gt; self by hand:
&lt;br&gt;&amp;gt; &amp;nbsp; rm tmp/libgtkjni-*.so
&lt;br&gt;&amp;gt; &amp;nbsp; LDFLAGS=`pkg-config --libs gdk-x11-2.0` build/faster
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If ldd shows the file in the dependency list then there's something 
&lt;br&gt;&amp;gt; strange going on.
&lt;br&gt;&amp;gt;
&lt;/div&gt;goundy@localhost ~/java-gnome/working/tmp $ ldd libgtkjni-4.0.12-dev.so &amp;nbsp;
&lt;br&gt;| grep gdk-x11
&lt;br&gt;&amp;nbsp; &amp;nbsp; libgdk-x11-2.0.so.0 =&amp;gt; /usr/lib/libgdk-x11-2.0.so.0 (0xb78ec000)
&lt;br&gt;that's odd :°)
&lt;br&gt;Btw, I haven't modified any .def file yet, I just added the new accessor 
&lt;br&gt;in GdkDrawable.java and then linked (in eclipse) the java-gnome project 
&lt;br&gt;to my testing project.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047464&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26047464.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26047204</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T05:03:26Z</published>
	<updated>2009-10-25T05:03:26Z</updated>
	<author>
		<name>Emmanuel Rodriguez</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Oct 25, 2009 at 12:34 PM, Goundy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047204&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Morning,&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
Emmanuel Rodriguez wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; java-gnome is probably not linking against gdk-x11&lt;br&gt;
&amp;gt; Try to see if you can link it with gdk-x11-2.0  from pkg-config&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; You can find the exact linker flags by running:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; pkg-config --libs gdk-x11-2.0&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;Actually it is, I&amp;#39;ve:&lt;br&gt;
goundy@localhost ~ $ pkg-config --libs gdk-x11-2.0&lt;br&gt;
-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo&lt;br&gt;
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0&lt;br&gt;
&lt;br&gt;
That&amp;#39;s kinda weird.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;No exactly, this just means that you have the libraries installed, but java-gnome might not be using them (linked).&lt;br&gt;&lt;br&gt;Check with ldd if the java-gnome .so is linked with  gdk-x11&lt;/div&gt;
&lt;/div&gt;   ldd tmp/libgtkjni-*.so | grep gdk-x11-2.0&lt;br&gt;&lt;br&gt;If ldd doesn&amp;#39;t show the file then it isn&amp;#39;t linked. Try to link it your self by hand:&lt;br&gt;  rm tmp/libgtkjni-*.so&lt;br clear=&quot;all&quot;&gt;  LDFLAGS=`pkg-config --libs gdk-x11-2.0` build/faster&lt;br&gt;
&lt;br&gt;If ldd shows the file in the dependency list then there&amp;#39;s something strange going on.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;Emmanuel Rodriguez&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047204&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26047204.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26046646</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-25T03:34:51Z</published>
	<updated>2009-10-25T03:34:51Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Morning,
&lt;br&gt;&lt;br&gt;Emmanuel Rodriguez wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; java-gnome is probably not linking against gdk-x11
&lt;br&gt;&amp;gt; Try to see if you can link it with gdk-x11-2.0 &amp;nbsp;from pkg-config
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You can find the exact linker flags by running:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pkg-config --libs gdk-x11-2.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Actually it is, I've:
&lt;br&gt;goundy@localhost ~ $ pkg-config --libs gdk-x11-2.0
&lt;br&gt;-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo 
&lt;br&gt;-lgobject-2.0 -lgmodule-2.0 -lglib-2.0
&lt;br&gt;&lt;br&gt;That's kinda weird.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26046646&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26046646.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26040992</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-24T10:00:57Z</published>
	<updated>2009-10-24T10:00:57Z</updated>
	<author>
		<name>Emmanuel Rodriguez</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Oct 24, 2009 at 4:22 PM, Goundy &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26040992&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;goundy@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Emmanuel Rodriguez thank you very much, you helped lot&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
Emmanuel Rodriguez wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; the XID has to be taken from GdkDrawable, from which GdkWindow&lt;br&gt;
&amp;gt; inherits. You used a GtkWindow, instead of GdkWindow. I&amp;#39;ve checked the&lt;br&gt;
&amp;gt; doc of GdkDrawable [1] and it is missing the accessor for xid wich in&lt;br&gt;
&amp;gt; C is provide by the function gdk_x11_drawable_get_xid [2]. Without&lt;br&gt;
&amp;gt; that accesor you will not be able to take the XID of a window.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&amp;gt; --&lt;br&gt;
&amp;gt; Emmanuel Rodriguez&lt;br&gt;
The only problem now is that I&amp;#39;m getting:&lt;br&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.UnsatisfiedLinkError:&lt;br&gt;
org.gnome.gdk.GdkDrawable.gdk_x11_drawable_get_xid(J)I&lt;br&gt;
    at org.gnome.gdk.GdkDrawable.gdk_x11_drawable_get_xid(Native Method)&lt;br&gt;
    at org.gnome.gdk.GdkDrawable.getXID(GdkDrawable.java:508)&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;java-gnome is probably not linking against gdk-x11&lt;/div&gt;&lt;div&gt;Try to see if you can link it with gdk-x11-2.0  from pkg-config&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;You can find the exact linker flags by running:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;pkg-config --libs gdk-x11-2.0&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;Emmanuel Rodriguez&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26040992&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26040992.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26039466</id>
	<title>Re: GtkWindow XID</title>
	<published>2009-10-24T07:23:48Z</published>
	<updated>2009-10-24T07:23:48Z</updated>
	<author>
		<name>Goundy</name>
	</author>
	<content type="html">Goundy wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Emmanuel Rodriguez thank you very much, you helped lot
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Emmanuel Rodriguez wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; the XID has to be taken from GdkDrawable, from which GdkWindow 
&lt;br&gt;&amp;gt;&amp;gt; inherits. You used a GtkWindow, instead of GdkWindow. I've checked 
&lt;br&gt;&amp;gt;&amp;gt; the doc of GdkDrawable [1] and it is missing the accessor for xid 
&lt;br&gt;&amp;gt;&amp;gt; wich in C is provide by the function gdk_x11_drawable_get_xid [2]. 
&lt;br&gt;&amp;gt;&amp;gt; Without that accesor you will not be able to take the XID of a window.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Emmanuel Rodriguez
&lt;br&gt;&amp;gt; The only problem now is that I'm getting:
&lt;br&gt;&amp;gt; Exception in thread &amp;quot;main&amp;quot; java.lang.UnsatisfiedLinkError: 
&lt;br&gt;&amp;gt; org.gnome.gdk.GdkDrawable.gdk_x11_drawable_get_xid(J)I
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;at org.gnome.gdk.GdkDrawable.gdk_x11_drawable_get_xid(Native Method)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;at org.gnome.gdk.GdkDrawable.getXID(GdkDrawable.java:508)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And I added a call to that native function as:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; GdkWindow.java:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;static final long getXID(Drawable self) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;long result;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (self == null) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new IllegalArgumentException(&amp;quot;self can't be null&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;synchronized (lock) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;result = gdk_x11_drawable_get_xid(pointerOf(self));
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return result;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any ideas ?
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;/div&gt;Oh Sorry, I meant GdkDrawable.java *
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;java-gnome-hackers mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26039466&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;java-gnome-hackers@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Java-Binding---Dev-f1289.html&quot; embed=&quot;fixTarget[1289]&quot; target=&quot;_top&quot; &gt;Gnome - Java Binding - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GtkWindow-XID-tp26038751p26039466.html" />
</entry>

</feed>
