Having several JComboBoxes with different values in a JTable

前端 未结 3 731
Happy的楠姐
Happy的楠姐 2021-01-25 04:27

I want to create a JTable where in a specific column named \"Tools\" a JComboBox should be accommodated. the values of the JComboBox should differ for each row.

In the

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-25 04:59

    I think that the main problem is that your app_str String is only instantiated once. Then at the end, everything is set to the last value of this instance.

提交回复
热议问题