Re: [Java-gnome-developer] A new program using java-gnome
Brought to you by:
afcowie
From: Serkan K. <se...@ge...> - 2010-08-31 06:02:10
|
Hey, It's great to see more users of this library. Quickly examining the code I see that you're mixing 2 toolkits (awt and gtk) which is bad. You can try using org.gnome.gtk.Clipboard(http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/Clipboard.html) class for clipboard access. You'll probably wont need an extra thread using that as well (subscribing to OwnerChange sginal should work that out) Regards, Serkan |