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.
Steps to reproduce: - Create a Use Case diagram - Put a Use Case element on the diagram and name it - Open properties window for the Use Case element - Click '...' button on Extension Points property 'Element Name - Extension Points' dialog pops - Click 'Add' button - Go to the 'Name' field - Type 'My Extension Point' - Press 'Enter' key The name is typed. - Press 'Enter' key again The default 'OK' button is not pressed, the dialog is not closed
The same is for properties: - Template Parameters - Stereotypes - Tagged Values - Constraints
Just found that Ctrl+Enter may be used to activate 'OK' button. But it is not expected shortcut.
Workaround: use Ctrl-Tab to get out of the table and then tab to OK button.
Please check http://java.sun.com/products/jlf/ed2/book/HIG.Controls.html for default command button section, "The Enter and Return equivalents activate the default command button unless keyboard focus is currently on a component that accepts the Enter or Return key. For instance, if the insertion point is in a multiline text area and the user presses Enter, the insertion point moves to the beginning of a new line rather than activating a default button. In this case, users can press Ctrl-Enter to activate the default button. Alternatively, they can press Ctrl-Tab to move the focus out of the current component and then press Enter." Hence this is not a bug.
It needs to use Ctrl+Enter instead of Enter