Re: [Java-gnome-developer] JTable(Swing) to java-gnome
Brought to you by:
afcowie
From: Robert M. <ro...@ma...> - 2005-03-24 13:46:46
|
On Thu, 2005-03-24 at 10:24 -0300, Joao Victor wrote: > --- Ka-Hing Cheung <ka...@gm...> wrote: > > There's currently no way to implement the model(without copying)/renderer > > with java-gnome, is there any plan to improve things in that area? > > Hum, didn't understand exactly what you mean by "There's currently no way to implement the > model(without copying)/renderer"? You can make lists and trees, that's possible. A JTable from my > understanding would be a multicolumn List, which is also possible. 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) > > What isn't good, however, is the api to do this stuff... it's too 'C-ish' currently, and yup we're > trying to improve things in that area. There's a discussion about this going on here: > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JGDiscussionTreeViewEasier > > Cheers, > J.V. > ________________________________________ Robert Marcano web: http://www.marcanoonline.com/ blog: http://www.marcanoonline.com/plog/ |