Hi,
Iam really new to Swing programming and I have to do some thing like what Iam
describing below in my project.
Would like to have a GUI,which is as follows:
Its a table having 2 columns.
The 1st row(0 index) is a fixed row.
The 1st column(index-0) is a tree & in the second column(index-1),all cells should display a combobox.
Also,when collapsing & expanding the tree in the first column,the 2nd column combocells should collapse or expand with it.
The selection should spread across both the columns.
The image looks as follows:
http://www.upload-images.net/imagen/2fda8fcd74.jpg
I have gone through the java tutorials & came to the idea that for realising this GUI,I have to use a JTable & render it,set corresponding "editor" to it, to get the required results.
Looked at the Java tutorial at
http://java.sun.com/products/jfc/tsc...le2/index.html.
But its a bit confusing for a beginner.
would be nice if u could show how I can do this with a code snippet.It needs only to be a minimal one.
Also in the java tutorial code(at the above link), in JTreeTable class there is this
//class ListToTreeSelectionModelWrapper extends DefaultTreeSelectionModel
Do I need it in my case.
Would be nice if someone could give me a breakthrough on this one...
Thanks