Keyboard Issues in NetBeans Editor
Version: 1.0
Author: Miloslav Metelka
Document History:
- [02/27/2001] : version 1.0
If the keyboard in the NetBeans editor does not work as expected
(e.g. the international characters do not appear correctly)
it's possible to run
$jdk_location/bin/java -jar $jdk_location/demo/jfc/Notepad/Notepad.jar
and check whether the problem can be reproduced by that pure Swing application.
- If the problem can be reproduced in the Swing application
then the problem is somewhere between the OS and JVM keyboard handling.
It may be worth to collect additional information about the key events
being generated during the problem reproducing.
A simple Swing application JEP.java can be downloaded, compiled
and executed and the issue should be reproducible in it as well with an additional
debugging information (about key and mouse events) being dumped to the console.
The output from the console should be grabbed into a text file
which can then be attached to a particular issue.
Additional tips:
- On Unix environments please check whether
LC_ALL environment variable is properly set to your country and language locale.
- Try to inspect further your OS configuration. Sometimes updating of the Window Manager on Unixes to a newer version may help.
- The problem may already be fixed in a newer JDK version.
Or it may be a regression so it's worth to try older JDK versions.
- If the problem does not occur in the Swing application then it is likely a bug
in NetBeans IDE. Please file a bug in IssueZilla.