Re: [Java-gnome-developer] overrideBackground method on Buttons

2012-07-28 Thread Andrew Cowie
On Fri, 2012-07-27 at 20:39 +0100, Nate Donmez wrote: > I am trying to make my button green. Can someone please tell me what > am I doing wrong ? Nothing, so far as I can tell. I ran your code, and tried * adding the overrideBackground() call to the parent Window [worked to set th

[Java-gnome-developer] overrideBackground method on Buttons

2012-07-27 Thread Nate Donmez
Hi all, I am trying to make my button green. Can someone please tell me what am I doing wrong ? import org.gnome.gdk.RGBA; import org.gnome.gtk.Button; import org.gnome.gtk.Gtk; import org.gnome.gtk.StateFlags; import org.gnome.gtk.Window; public class Foo { public static void main(String[]