laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM005083
EingereichtNovember 2, 2006
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.1
ProgrammspracheJava
Behoben in Version9.3
StatusDuplicate

Zusätzliche Informationen

NIM008211

Workaround

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

Schritte zur Reproduzierung

Bug-ID: NIM005083

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln