2011-01-13 17 views

答えて

10

コマンドです。

table.getSelectionModel().getLeadSelectionIndex(); 
table.getColumnModel().getSelectionModel().getLeadSelectionIndex(); 

はそれぞれフォーカス行とカラムを与えます。

+0

フォーカスされていない行です。 *選択行*です。行を選択してフォーカスを別のアプリケーションに移動すると、それらは異なる場合があります。 – LoKi

関連する問題