Pablo Zinc | 22 Feb 02:54
Picon
Favicon

Java, GTK and Windows

Hi! I’d like to use Java with GTK in Microsoft Windows, do you have any information or advice about this? Some (incompatibility) problem could occur? Thank you very much
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
lameire alexis | 6 Feb 14:03
Picon
Favicon

show a ColorButton into a collumn of a TreeView

Hi,
I understood the way to use the model view of treeview widget but i need
a custom use of this widget.
I would like to store in the model a color, that must be shown in the
treeview.
To make this I need first to create my own CellRenderer, i would like to
know how to do this. 
Secondly to store my color into the model i need to know how to make my
own DataColumn and finally, how to use it in the listStore model.

Thanks for your attention
Alexis Lameire

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
cyber python | 5 Feb 15:52
Picon
Gravatar

Gtk Warnings

Hello,
I am writing an application using java-gnome and if a gtk theme that
causes warnings is used the whole application crashes thus I'd like to
know if there is a way to distinguish warnings thrown as Exceptions.

Best regards,
Georgios Migdos.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Guillaume Mazoyer | 4 Nov 17:47
Picon
Gravatar

Update 4.1.1 PPA package

Hello,

Several Ubuntu and Debian users reported the crasher due to a
ClassCastException with the Box inside a Dialog.
The fix now lands in mainline but the package in the Debian and Ubuntu
repository doesn't contain this fix.
So I have backported that fix in new package in the PPA[1] in this way the
Ubuntu users will be able to get the crasher fixed. For Debian this will
have to wait for the 4.1.2 release ;)

Cheers,

[1] https://launchpad.net/~java-gnome/+archive/ppa

--
Guillaume Mazoyer
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
Andrew Cowie | 23 Oct 11:01
Favicon
Gravatar

Re: Pixbuf memory leak

On Fri, 2011-10-21 at 10:09 +0100, William Temperley wrote:
> I'm fairly sure it's Pixbuf that's causing this. For a bit of
> background, I do a lot of drawing hefty polygons onto Cairo canvases
> and draw images using the Pixbuf.

Hm.

Have you considered using a Cairo ImageSurface? You can write images
with that.

AfC
Mount Wilson

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
William Temperley | 19 Oct 19:01
Picon

Pixbuf memory leak

Hi all,

I've come across a memory leak with Pixbuf - whenever I construct one,
lots of memory is leaked. The test below leaks ~200MB when loading a
6kb image 10,000 times. Commenting out the Pixbuf construction leads
to steady memory use.
This memory usage isn't reported by the JVM.  I've come across this
behaviour with 4.0.19 and 4.1.1.

Whilst I'd love a proper solution to this, I wonder if anyone has a
quick and dirty workaround for freeing up this memory? I'm doing a
production run of approximately 6000 maps for a website, which grinds
to a halt after 100 or so maps, using all 8GB of RAM.

Thanks

Will Temperley

  @Test
  public void itLeaks() throws IOException {
    Gtk.init(null);

    for (int i = 0; i < 10000; i++) {
      System.out.println(i);

      BufferedImage b = ImageIO.read(new File("/tmp/x.png"));
      ByteArrayOutputStream bos = new ByteArrayOutputStream();
      ImageIO.write(b, "PNG", bos);
      byte[] arr = bos.toByteArray();

      //comment out and memory usage remains steady
      Pixbuf pb = new Pixbuf(arr);

    }

  }

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Picon

Accessing e-d-s contacts from Java

Hi all,

how are you? I'm trying to access e-d-s contacts from a Java application, but I haven't found any way of doing it and I was wondering whether there's any wrapper for libecal or something like that.

Any help would be appreciated.
Thanks in advance.
Pablo.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
George Cheng | 9 Oct 21:07
Picon

How to use GObject class from outside the package

Why is GObject class only accessible from within the package?

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
Guillaume Mazoyer | 3 Sep 16:40
Picon
Gravatar

A use case of Gtk.mainIterationDo()

After releasing the last version of my program[1] a user reported a
strange bug caused by the interruption of the GTK main loop.

Basically, my program provides an Assistant so the user is guided to
split or merge files. In the last page of the assistant, when confirming
the split/merge the main window is refreshed with some new data and a
thread is started to proceed to the requested action. The tricky point
is that the window *must* be fully refreshed before the thread starts.

So when the interface is not fully refreshed an error message is
displayed and the action is canceled. The origin of the bug I had was
just this. The thread interrupted and started before the GTK main loop
finish the refresh of the UI. It is invisible to the user because all of
this occurs pretty quickly.

I finally found a fix for that using 2 recently exposed methods:
  - Gtk.eventsPending()
  - Gtk.mainIterationDo()

You can take a look at the fix by following this link:
  - http://trac.gnome-split.org/changeset/265
or by grabbing the code.

This fix forces the GTK main loop to run until there is no more things
to proceed.

What do you think about this fix?

--

Guillaume Mazoyer
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
Andrew Cowie | 11 Jul 06:46
Favicon
Gravatar

java-gnome 4.0.20 and 4.1.1 released

There's a new version of java-gnome!

Release notes
http://java-gnome.sourceforge.net/NEWS.html#4.1.1

Tarball
http://ftp.gnome.org/pub/gnome/sources/java-gnome/4.1/java-gnome-4.1.1.tar.bz2

The java-gnome 4.1 series depends on GNOME 3.

++

Simultaneously there has also been the release of 4.0.20, It is meant as
a porting aide to help you cross from GTK 2.x to GTK 3.x. If your code
builds cleanly against 4.0.20 then you should be ok when your system
upgrades to GTK 3.0 and you install java-gnome 4.1 which builds against
it.

We're not really planning on making any more releases in the 4.0 series,
but if someone backports an improvement or serious bugfix then of course
we'll do our best to merge it.

++

Meanwhile, new development in the '4.1' series is welcome. See
HACKING :)

AfC
Sydney

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
Andrew Cowie | 20 Jun 05:43
Favicon
Gravatar

Website changes

We've got an API break coming up, and to support that I've completed a
minor refactoring of the java-gnome website.

What used to be

http://java-gnome.sourceforge.net/4.0/lists/

is now 

http://java-gnome.sourceforge.net/lists/

This was a good idea because we're about to have 4.1 API documentation
and I wanted it to be available in parallel with the [old] 4.0 API
documentation, ie instead of

http://java-gnome.sourceforge.net/4.0/doc/api/

we now have 

http://java-gnome.sourceforge.net/doc/api/4.0/ and
http://java-gnome.sourceforge.net/doc/api/4.1/

Thought you might want to know.

There's a redirect in place.

AfC
Sydney

-- 
Andrew Frederick Cowie

Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management: enabling
successful deployment of mission critical information technology in
enterprises, worldwide.

http://www.operationaldynamics.com/
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

Gmane