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.

Bug 204181 - Preview Design does not show displayedMnemonic on Text of Component
Summary: Preview Design does not show displayedMnemonic on Text of Component
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 04:39 UTC by MackSix
Modified: 2011-10-25 09:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-25 04:39:55 UTC
Preview Design does not show displayedMnemonic on Text of Component. It shows if "Run File" is invoked.
Comment 1 MackSix 2011-10-25 06:04:42 UTC
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)
Comment 2 Jan Stola 2011-10-25 09:24:15 UTC
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.