Hi all,
I am trying to set a data vector in a DefaultTable Model with strings,
but when I read it, I get incoherent results.
For example, in the following code the first getDataVector return
unquoted strings, while the second retuns correctly quoted strings.
from javax import swing
m = swing.table.DefaultTableModel()
m.setDataVector([['string 1'],['string 2'],['string 3']],[1])
# this prints [[string 1],[string 2],[string 3]] (unquoted strings)
m.getDataVector()
# this prints correctly u'string 1'
m.getDataVector()[0][0]
Regards,
F. Pollastri
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users