JTreetable applet example 2

1. First of all you need a row ID to operate with cells directly (change their color,font,value etc.) You may know it because you have created the treetable, or you can find the user selected row ID using a function getSelectedId()

2. Direct access to the cells you have via cells(row_id,column) function.
Then you can use getFont(), setFont(font), getValue(), setValue(val) to change cell attributes. Column: Value:

3. You can add new rows to the treetable using functions