开发者

How to add a JCombobox in a JTable and fire its action inside of the JTable?

开发者 https://www.devze.com 2023-04-11 13:26 出处:网络
Actually I want to 开发者_StackOverflow社区add a JCombobox in a JTable and fire its action within the JTable.

Actually I want to 开发者_StackOverflow社区add a JCombobox in a JTable and fire its action within the JTable. I am using Netbeans, and I need to know where exactly I should put the code. Thank you for your cooperation and time. Best regards.


You can simply add a JComboBox to a JTable if you can follow this tutorial which describes how to use a Combo Box as an Editor, another examples about TableCellEditor are here.

0

精彩评论

暂无评论...
验证码 换一张
取 消