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.
を使ってswingプログラムを作っていKeyEventDispatcherます。私が必要としているのは、キーボードのキーを押すと、そのキーに割り当てられたアクションは、2 回目にキーが押されたときに利用できないということです。ある意味、一度使ったらと設定するようなものsetEnabled()です。JButtonfalse
KeyEventDispatcher
setEnabled()
JButton
false
At the console.log line in the render method below, it shows that this.member instance is exactly what it should be. So member object is good. I'