This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
hi, I use the HTML (i.e. "<HTML><center>Name</center></HTML>") to boldface and center the text of the header for all the columns in a JTable. But I can only boldface the text but could not center them. Does anybody know how to solve this problem? Thanks. Jeff
use a center tag like "center" "/center" (In order to display the tag, I use "" instead of <>) Good luck!
Joined: Aug 23, 2001
Yes, I did but it did not work.
Joined: Sep 10, 2001
I used once and it works. Just make sure that you close all the tages. "html""center""font face=dialog""B" Bold table head "/font""/center""/html" Good luck! In case it doesn't work, could you please post the source code.