RE: [Java-gnome-developer] Java GDK
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2003-10-28 12:01:51
|
> I have been messing around a bit with Java-GNOME, and I must > say that I > enjoy it a lot. Thanks. > Right now I'm having a lot of problems grasping how to use GDK. In > effect, what I want to accomplish is that I want to paint in a window. > Basically in the same way as I would use a javax.swing.JPanel and > override the paint() method. Can this even be done? As far as I can > tell, the GDK support isn't finished yet? Could anyone shed some light > into this? Prior to the GTK2 port the GDK implementation was fairly robust. During the port the primary focus was on the higher level functions and you are correct inyour assessment that the GDK layer support is not finished. There is an example of drawing to a window using the low level GDK functions in src/examples/gtk/mandel but I believe it is currently broken. It worked in the pre GTK2 days. -Jeff |