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行をダブルクリックするActionListenerを作成するにはどうすればよいですか?
メソッドを使用getClickCount()して、ダブルカウントをキャプチャします。getClickCount()は、クリックのタイプ(シングル、ダブル、トリプルなど)に関する情報を提供しますが、合計クリック数は提供しません。
getClickCount()