简体   繁体   English

爪哇。 JTABLE - 如何计算当前选定的行

[英]JAVA. JTABLE - How to count currently selected row(s)

I need to count selected row for removing multiple rows.我需要计算选定的行以删除多行。 Please help with the steps.请帮忙看看步骤。

Example in the picture I want to delete/remove those selected rows at the same time.图片中的示例我想同时删除/删除那些选定的行。

在此处输入图片说明

table.getSelectedRows().length

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM