Re: [Java-gnome-developer] JTable(Swing) to java-gnome
Brought to you by:
afcowie
From: Ka-Hing C. <ka...@gm...> - 2005-03-27 02:39:08
|
On Thu, 24 Mar 2005 19:01:59 -0800, Ka-Hing Cheung <ka...@gm...> wrote: > On Thu, 24 Mar 2005 09:45:50 -0400, Robert Marcano > <ro...@ma...> wrote: > > I think what he wants is to be possible to do what any good user of a > > JTable do: > > > > public class MyModel implements TableModel { > > ..... > > } > > > > instead of copying the data from the original source to the > > DefaultTableModel class for example. A lot of GTK programmers develop > > programs using the last option: copy the data to a GtkTreeStore or > > GtkListStore instead of implementing the GtkTreeModel interface (this > > was not possible the last time I used java-gnome) > I just started to work on a CustomTreeModel which would let you do that. I am quite new to JNI and not sure if the whole thing would work at all, I will let you know what I find out within the next week or so. -khc |