クラス
javax.swing.tree.DefaultTreeSelectionModelの使用