Skip to main content

JXTreeTable icons in the table ?

1 reply [Last post]
Anonymous

Hy all,

new to jdnc, i wonder if their is a wy to get the TableCellRenderer of
JXTreeTable, it's ok with the first column (JTree) but, afaik, i can't
get, or can't find a way to, get the TableCellRenderer, only the
TreeCellRenderer part ?

Best,

Yvon
[PGP.sig]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Scott Violet

Yvon Thoraval wrote:
> Hy all,
>
> new to jdnc, i wonder if their is a wy to get the TableCellRenderer of
> JXTreeTable, it's ok with the first column (JTree) but, afaik, i can't
> get, or can't find a way to, get the TableCellRenderer, only the
> TreeCellRenderer part ?

Remember that JXTreeTable extends JTable, so that you can use any of the
API it provides. So, you could use TableColumn.setCellRenderer, or
JTable.setDefaultRenderer. Have you tried these?

-Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net