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.
Preview Design does not show displayedMnemonic on Text of Component. It shows if "Run File" is invoked.
Product Version: NetBeans IDE Dev (Build 201110240600) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
This is a misunderstanding. The mentioned difference is caused by a different look and feel. Windows look and feel doesn't show mnemonics by default. You must press Alt to see them. Majority of other look and feels show the mnemonics immediatelly. The default look and feel of NetBeans IDE on Windows is Windows look and feel. The GUI Builder uses look and feel of IDE for preview. Hence, the form is previewed in Windows look and feel and so the mnemonics are not shown unless Alt is pressed. When the form is executed (and you haven't modified the corresponding code of the template) then Nimbus look and feel is used. Hence, the mnemonics are shown immediately.