File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes A question about the data in JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "A question about the data in JTable" Watch "A question about the data in JTable" New topic
Author

A question about the data in JTable

Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
Hi,
I have created the JTable, everything is fine execept for some strange characters in some columns. I don't know how to delete them.
Thanks.

Little Bird
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

you can use the trim() method. This will remove those unwanted chars.
Now to my moderator hat.
"Little Bird"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it
here.
Thanks! and welcome to the JavaRanch!


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ying Ren
Ranch Hand

Joined: May 24, 2002
Posts: 35
Mark,
Thank you very much.
 
Don't get me started about those stupid light bulbs.
 
subject: A question about the data in JTable
 
Similar Threads
JTable
JTable
JTable
JTable
JTable