laptop and a wrench

不具合

MapControl stops listening to the keyboard events if you minimize the window, or click on another application and then click back on the map in JAVA.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM005083
送信されましたNovember 2, 2006
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.1
プログラム言語Java
修正されたバージョン9.3
ステータスDuplicate

参考情報

NIM008211

対処法

1) include a call to map.requestFocusInWindow() in the "onMouseUp" event of the mapcontrolAND2) add key listeners to the map control to listen to the AWT key events: map.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(java.awt.event.KeyEvent theEvent) { System.out.println("keyPressed"); } public void keyReleased(java.awt.event.KeyEvent parm1) { System.out.println("keyReleased"); } });To test the workaround in the project 528704, enable the two pices of code enclosed between the comments "// ENABLE THESE LINES TO SOLVE ISSUE " in the file MapEventTest.java. The workaround works fine in 9.1 and 9.2

再現の手順

不具合 ID: NIM005083

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動