I am evaluating ST on a java swing app.
We have many ListViews which use our own custom built cell renderers.
I was having a problem selecting from a list:
would not select.
I then discovered that ST uses the toString method of whatever object was placed in the list, and so I wrote a script to modify all
our toString methods when in TESTING mode, so that they did not spurt out all the usual
object information, but instead called our own 'display' methods.
This worked fine. For most cases.
However, there are situations where a cell renderer will concatenate a whole load of info together, from different objects, and
consequently I cannot simply alter a toString method in any one class.
can I get ST to select upon what is displayed
to screen, not on what the toString method of the object in the list returns...?