This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have installed netbeans 6.5 - on Fedora 10 - when I open a file the square brackets and curly braces do not work - when I try to type in any of these keys I get nothing. This is a nightmare - even worse will be being obliged to use eclipse
Can you type these chars in any other Java application, eg. in: http://java.sun.com/javase/technologies/desktop/javawebstart/apps/notepad.jnlp ?
*** Issue 159460 has been marked as a duplicate of this issue. ***
I am able to type this characters in Eclipse without any problems
Eclipse is different, it's not a Swing application. Could you please try typing these in java notepad (eg. use the JNPL link provided by mschovanek or simply type java -jar ${JAVA_HOME}/demo/jfc/Notepad/Notepad.jar to a commandline). Also please attach here the IDE's log file from <ide-userdir>/var/log/messages.log. Thanks
I have experienced this behavior a couple of times before and it is very frustrating when it happens. I run Netbeans 6.5 on Linux (Fedora 10) and use Swedish keyboard settings. With a Swedish keyboard one has to use AltGr combined with the numbers 7 through 9 to produce the {[]} letters. Occasionally this stops working and you get just the numbers instead of the brackets. In fact, no AltGr key combos work at all -- and there are quite a few useful ones with a Swedish setting (e.g. @, \). Everything works fine in most applications, even in Eclipse. There are other applications though that share the same problem as Netbeans, the Java notepad example is one -- no brackets there. Earlier, when having had these problems, I have been able to fix them by running the SCIM (Smart Common Input Method) and then restart Eclipse. This morning when yet again the curly brackets became numbers I tried to start SCIM. It didn't work this time, no matter how I tried to configure it and restart Netbeans. Now the only way of writing brackets is by copying and pasting from somewhere else -- neither productive nor practical. I'm feeling pretty clueless about this; what's the cause and how to fix it. I'll append my Netbeans log, maybe that could shed some light upon this issue for someone.
Created attachment 78825 [details] my messages.log
"the Java notepad example is one -- no brackets there." - Then the problem is somewhere between JDK/OS/SCIM and I'm afraid there is not much we can do in Netbeans. "Occasionally this stops working and you get just the numbers instead of the brackets." - So, *sometimes* AltGr works in Netbeans and you *can* type {}[], but then something happens and it stops working. Correct? The same for java notepad? Or does AltGr never work?
Please provide requested info so we can further analyze this problem. I'm closing this as Invalid for now, please reopen when the info is provided. As vstejskal mentioned this is probably problem of the OS/JDK. Please try upgrading your JDK. I also remember, that the AltGr problem was sometimes solved by change in xorg.cong, but unfortunately I cannot find it now.