kohinoor2007
Programmer
Hi Guys,
Iam new to swing & had to make 2 Gui controls as follows:
[1]1st GUI Control
*******************
Its like a table having 4 columns.
The 1st column is a fixed column,the 2nd ,3rd & 4th column contains comboboxes(All cells in the columns).
The image looks as follows:
[2]The 2nd GUI control
***********************
Its also a table having 2 columns.
The 1st row is a fixed row.The 1st column is a tree & in the second column,all cells is a combo box.
Also,when collapsing & expanding the tree in the first column,the 2nd column cells should not collapse or expand with it.
The image looks as follows:
I have gone through the java tutorials & came to the idea that for realising these 2 Gui Controls,I have to use a JTable & render it,set corresponding "editor" to it, to get the required results.
Could any one give a hand on, how I can achieve these 2 GUi Controls.
Any sample examples would be great....
Thanks
Iam new to swing & had to make 2 Gui controls as follows:
[1]1st GUI Control
*******************
Its like a table having 4 columns.
The 1st column is a fixed column,the 2nd ,3rd & 4th column contains comboboxes(All cells in the columns).
The image looks as follows:
[2]The 2nd GUI control
***********************
Its also a table having 2 columns.
The 1st row is a fixed row.The 1st column is a tree & in the second column,all cells is a combo box.
Also,when collapsing & expanding the tree in the first column,the 2nd column cells should not collapse or expand with it.
The image looks as follows:
I have gone through the java tutorials & came to the idea that for realising these 2 Gui Controls,I have to use a JTable & render it,set corresponding "editor" to it, to get the required results.
Could any one give a hand on, how I can achieve these 2 GUi Controls.
Any sample examples would be great....
Thanks