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.
我有一个JTable,我想做以下任务:
JTable
如如何使用表格:用户选择中所示,JTable支持行之间的多选,但不支持单个单元格之间的多选。JList使用MULTIPLE_INTERVAL_SELECTIONand可以达到预期的效果HORIZONTAL_WRAP,如此处和此处所示。
JList
MULTIPLE_INTERVAL_SELECTION
HORIZONTAL_WRAP