This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 17250
    
    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