Hi,
Often when I work with lists in java I have a Vector with lots of classes in
it. To show this in a ListView in java-gnome is not very easy, that's why
I've created a class called MultiView wich gets its info out the Vector.
It works like this:
Vector v = new Vector();
v.addElement(new AClassThatImplementsMultiViewRow(parameters));
MultiView mv = new MultiView(v);
Please see the Test class in the tarball for more information.
I hope that this class can be of any help to someone. It is a bit buggy and
doesn't have many futures but I want to develop it more.
Also I read in the API and the presentation that you want to improve the
treeview, what do you think of this idee?
When the program runs there is an error in the output which I don't
understand, could someone please take a look at it because I don't know if
it is my fault or a bug in java-gnome.
The error occurs when I do
Iter.getNextIter() when there is no next item.
Thanks,
David
|