Forums Register Login

boxes in data

+Pie Number of slices to send: Send
Hello all,
I am getting boxes in my JTable when I grab it from the Data class. I thought maybe this was from the depreciated ascii methods but even when I got rid of the depreciated methods, I still have the boxes in my table.
Also, on the getBytes() and new String() methods that take an encoding... are there some constants for those encodings? I am just letting it default to the the machine default for the moment.
Thanks in advance!
Nate
+Pie Number of slices to send: Send
try the .trim() method of the String class. use it in your readRecord method in the method that you fixed from being deprecated.
Mark
+Pie Number of slices to send: Send
 

Originally posted by Mark Spritzler:
try the .trim() method of the String class. use it in your readRecord method in the method that you fixed from being deprecated.
Mark


Thanks Mark! That worked perfectly!
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 560 times.
Similar Threads
getBytes() method
jsp...urgent help required
How to Uncheck the checkbox
Depreciated methods
What to do if a question include Deprecated Methods in Exams
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:41:07.