>>465
これはAKeyListener、BKeyListenerを両方とも登録しておいてそれぞれのListenerのKeyPressed()とかに
if (state == A) {
 // キー入力処理
}
で分岐てことであってますか?