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 では、SINGLE_SELECTION、SINGLE_INTERVAL_SELECTION、および MULTIPLE_INTERVAL_SELECTION の 3 つの選択モードを知っています。Excel での選択方法と同様に、必要な量のセルを選択できるようにする方法はありますか? これにより、テーブルのセクションを選択できるようになります。ここで説明する 3 つの方法では、ROWS のみを選択できます。
columnModel の columnSelectionAllowed プロパティを使用できます。