The edit pane would have to be the cell editor rather than renderer so that it was a live component that could handle mouse events - the renderer is stateless and just painted.
N.
Philipp Meier wrote:
Hezekiel wrote:
>> Do you (IDEA guys) use some publicly available component for that or >> is that developed in house? >> >> Alternatively: does anyone know how to make html in JTable cells >> clickable?
I think, you can use a JEditpane as TableCellRenderer and add a hyperlink listener to it.
Hezekiel wrote:
I think, you can use a JEditpane as TableCellRenderer and add a
hyperlink listener to it.
-billy.
The edit pane would have to be the cell editor rather than renderer so
that it was a live component that could handle mouse events - the
renderer is stateless and just painted.
N.
Philipp Meier wrote:
>> Do you (IDEA guys) use some publicly available component for that or
>> is that developed in house?
>>
>> Alternatively: does anyone know how to make html in JTable cells
>> clickable?