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.
我有一个JList包含多个项目,索引为 0 的项目和索引为 1 的项目。当我单击 1 索引中的项目时,它会消失并变成 0 索引中的项目,有人知道为什么吗?
JList
rightSelectedRow = rightJTable.getSelectedRow();