Skip to main content

jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans

9 replies [Last post]
frankgrimes97
Offline
Joined: 2006-09-13

When I run NetBeans 6.8 beta using JDK 1.7.0 b75, if I enter a double-quote character, it always overwrites the current character instead of inserting.
This seems to occur in any editor window. (Java, XML)

I tested with JDK 1.6.0_16 and JDK 1.6.0_18 and it works fine with both of them.

Any thoughts on this? (I'd be surprised if it's a NetBeans bug, but stranger things have happened)

Regards,

Frank Grimes

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
anthony_p
Offline
Joined: 2006-07-24

Apparently, this is actually a duplicate of another issue: 6882912

anthony_p
Offline
Joined: 2006-07-24

Could you clarify the platform you're running Netbeans on (Win/*NIX/Mac), and the locale and input layout of your profile? Are there other layouts installed on your system/profile?

Is it reproducible with a stable NetBeans (6.7.1) on 7b75 as well? With a simple Swing application using a TextField or whatever other text component?

frankgrimes97
Offline
Joined: 2006-09-13

Windows Vista 32-bit

Reproducible on NetBeans 6.7.1.
Also reproducible in GuiFormExamples Swing apps shipped in NetBeans.

I also noticed that while double-quote overwrites, single-quote inserts in the wrong place (after current character instead of before)

anthony_p
Offline
Joined: 2006-07-24

And what about the locale on your system, and the keyboard layouts?

frankgrimes97
Offline
Joined: 2006-09-13

Sorry about that... between reading your post and running the tests I must have forgotten about that.

The locale is English/Canada on an English keyboard.

Have you not been able to reproduce the problem?

I can switch to an English/US locale if you think it'll help.

frankgrimes97
Offline
Joined: 2006-09-13

Same problem after switching locale/keyboard settings to English/US

anthony_p
Offline
Joined: 2006-07-24

I suggest you file a bug against NetBeans. This might obviously be some change in Swing that just breaks some workaround in the NetBeans code. If NetBeans people figure out this is a problem in Swing, they will file an appropriate bug against us then.

frankgrimes97
Offline
Joined: 2006-09-13

I thought we had established that it isn't just a NetBeans problem... aren't the GuiFormExamples just plain Swing apps?

To confirm, I ran yet another Swing client application and it also exhibits this behaviour.

anthony_p
Offline
Joined: 2006-07-24

Thanks for further testing. I've just filed the following CR:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6898893

(should get visble in a day or two).