Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 java 代码中,我有一个包含 3 行和 7 个单元格的表格。这些所有行都有复选框。我可以为每个复选框编写一个操作吗?可能吗?
提前致谢。
如如何使用表格:概念:编辑器和渲染器中所示,Boolean您的值TableModel是“使用复选框渲染的”。不需要动作监听器;默认编辑器将处理鼠标和键盘事件。可以在此处和此处找到许多示例,例如
Boolean
TableModel