Hi I encountered a very low-level problem. I found the string fetched from db.db maybe have some trailing blanks. the unicode of these characters is '\u0000' and they display trailing squares in the JTable. I had assumed that those characters could be removed by String.trim() but they turned out not to be whitespaces . How you guys solved the situation? using a loop? it works but a little awkward i think Any small tricks? :roll: Regards. James
Siddharth Mehrotra
Ranch Hand
Joined: Aug 21, 2001
Posts: 185
posted
0
use trim method on the data that u get this will solve the problem
SCJP, SCJD.
James Du
Ranch Hand
Joined: Mar 23, 2001
Posts: 186
posted
0
the trim() method could not do the work, it just remove the whitespaces James
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.