I am using a JTable and I need the text in the columns to wrap across columns,like the default behaviour of Excel.(horizontal wrap)
I am using the jtable to display an image and a text alongside.The text along the image should wrap across the columns.
Presently I am using a table cell renderer
public class ColoredTableCellRenderer extends DefaultTableCellRenderer
{
setText()
setIcon()
Currently for longer texts the text gets truncated. I would like the text to wrap across the columns like in excel.
I am using the jtable to display an image and a text alongside.The text along the image should wrap across the columns.
Presently I am using a table cell renderer
public class ColoredTableCellRenderer extends DefaultTableCellRenderer
{
setText()
setIcon()
Currently for longer texts the text gets truncated. I would like the text to wrap across the columns like in excel.