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.
Often, but not *every time* when switching between editors of different java files in the IDE the keyboard focus is lost. The mouse works (I can make selections etc) but the editor is unresponsive to the keyboard. However, when I bring up a modal dialog (it doesn't seem to matter which one, I usually use the open file dialog), cancel that dialog, keyboard focus is magically restored to the editor. This is an issue both with 4.1 and with the current versions of 4.2. It happens often enough to be seriously annoying.
I have this same problem - the content of the editor window(s) (Java Editor is the only thing I've checked), becomes uneditable via the keyboard. The 'cut' & 'paste' toolbar icons are also dimmed and not selectable. Keyboard shortcuts also don't work. If there are outstanding edits, the file can still be saved, but you must mouse to the 'Save' command in the 'File.' I haven't tested whether opening & closing a JDialog can fix the problem, as documented in this initial posting of this issue. I'll try that next time. As mentioned in the original post, it is somewhat difficult to anticipate what actually "triggers" this eroneous behavior. Here's my system info: uname -a Darwin bb-pbook.ducom.edu 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc java -version java version "1.5.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56) Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing) As you can see, I'm using the still experimental (non end-user release) of Apple's Hotspot JVM v1.5.0_02. This same issue also comes us when I use the older, regular Apple JVM v1.4.2_08. There are no Exceptions being reported and nothing logged to messages.log, when this happens. Let me know whether you'd like to see my messages.log anyway, if there are module dependencies you'd like to check out. Cheers, Bill Bug
Seems to be a duplicate of issue 60235. *** This issue has been marked as a duplicate of 60235 ***