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.
スイング中のタブにアクションリスナーを置くことは可能ですか? もしよろしければ、小さな例を投稿していただけませんか?
javax.swing.event.ChangeListenerこれを行う唯一の方法は、JTabbedPane 自体に a を追加することです。状態の変更で何をしているかに応じて、選択したタブと以前に選択したタブを追跡する必要がある場合があります...
javax.swing.event.ChangeListener