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.
Product Version: NetBeans IDE Dev (Build 070731) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b03 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ Actions created with JDA has set mnemonic in text by special character "&" ... e.g. action show about box: in resource bundle there is key with value: showAboutBox.Action.text = &About... and every control, which has assigned this action, displays only text "About..." in design, thats correct. Other case is when user wants to set mnemonic for new action. Open AE and create action and set action's text as "&Test". Ampersand is always displayed in design (different from showAboutBox action), only when JDA is run, text of component is correct (without "&") and mnemonic is functional. I can have wrong use case but I test e.g. editing resource bundle directly and the behavior is the same.
The '&' character is only shown after entered; when the form is reloaded it is no more shown. Unfortunately it is not shown in the properties (action editor) either - so the user does not know if/what mnemonic is set. The app framework extratcs the '&' char from the text (when read from resource map) and sets special properties on action. We should fix both - 1) not to show '&' in design after entered in action editor, 2) always show '&' in the action editor.
NetBeans support of Swing Application Framework has been discontinued => I am closing this issue as 'will not fix'.