Hi Yair, sorry for my late response.
As Lior mentioned, ListModelListBox accepts Renderer that is passed to
ValueListBox constructor. The purpose of a Renderer is to create user
presentable string for given item (T). The fact that getValue() returns
T rather than String is expected, as T is the
Hi Yair,
I think this is exactly what happens in our GUI in most list boxes.
The class ListModelListBoxT renders the options for display using a
Renderer passed to its constructor, but getValue() returns the actual
selected item of type T rather than the String (and this in turn is what
is set