Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

insertion of multiple row in a Jtable row

Tags:

java

swing

jtable

I searched a lot, but didn't find any effective solution for my below problem, plz give your valuable suggestion. Thanx in advance.

insertion of multiple row in a Jtable row after click event on first column [+] symbol. Third column is a JTree, which expanded after clicking on first column [+] symbol and the corresponding values of JTree child node need to be inserted in other column(Best, Good,Avg, etc.)

like image 812
adityak Avatar asked Jan 25 '26 19:01

adityak


1 Answers

There are two ways

  • put JTable as Renderer to the JTables cell

  • JTreeTable, JXTreeTable, OutLine API by Netbeans and non free by Jide

like image 68
mKorbel Avatar answered Jan 27 '26 08:01

mKorbel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!