How to make the JTable cell 's content auto wrap word?

I know the jtable setDefaultRenderer ,the renderer class extends jtextarea can implement "auto wrap word",.But I also want to set the word position in the cell,so I have to make the renderer class extends jtextfield,but can't implement "auto wrap word".

How to implement toset the word position in the cell and auto wrap word in one cell if the words longer than the width of the cell?

[399 byte] By [David001a] at [2007-10-2 6:20:10]
«« JTable
»» jBPM
# 1
implement ur TableCellRenderer.. Make it extend a JTextPane n align the text in the centre
watfora at 2007-7-16 13:22:07 > top of Java-index,Desktop,Core GUI APIs...
# 2
I have two links.Sometimes it may help you.Wrapping Text in a cell : http://forum.java.sun.com/thread.jspa?forumID=57&threadID=636469Setting Table column widths: http://forum.java.sun.com/thread.jspa?forumID=57&threadID=606240Tino Simon.
tinosimona at 2007-7-16 13:22:07 > top of Java-index,Desktop,Core GUI APIs...
# 3
Thanks for yor reference . It's helpful.
olmlanda at 2007-7-16 13:22:07 > top of Java-index,Desktop,Core GUI APIs...
# 4
Nice to Hear ....Tino Simon.
tinosimona at 2007-7-16 13:22:07 > top of Java-index,Desktop,Core GUI APIs...
# 5
hi,im totally new to using eclipse N currently facing e same problem as u.can kindly help me? i dun quite understand those steps tt had mention. can u specify it more clearly.thanks
beea at 2007-7-16 13:22:07 > top of Java-index,Desktop,Core GUI APIs...