[Java-gnome-developer] Gtk Warnings

2012-02-05 Thread cyber python
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. --

Re: [Java-gnome-developer] Gtk Warnings

2012-02-06 Thread cyber python
First of all, thank you for the quick responses. The way I handle this for now (though it is clearly not a solution) is by ignoring any FatalError thrown on Gtk.init(). The theme is Adwaita Cupertino SL ( http://gnome-look.org/content/show.php/Adwaita+Cupertino?content=147061 ), but there is a gre

Re: [Java-gnome-developer] show a ColorButton into a collumn of a TreeView

2012-02-06 Thread cyber python
You can use DataColumnPixbuf, and a CellRendererPixbuf to display an image (you can create one with ImageIO) filled with the desired color. To store a reference to the color object you can use DataColumnReference. Just remember that the model of the treeview is meant to be used only for presentatio

Re: [Java-gnome-developer] Gtk.init throws exception when run on Ubuntu 13.04

2013-07-23 Thread cyber python
It's fairly easy - just open a terminal and give: *sudo add-apt-repository ppa:java-gnome/ppa* *sudo apt-get update* *sudo apt-get install java-gnome* The first command adds the PPA to your software sources. The second one updates the package index of your system. The third one actually installs t