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.
Create a JFrame form Add a JButton Set the Mnemonic to F Now press ALT+F Rather than displaying the Netbeans "File" menu the button added to the JFrame appears pressed.
I am sorry but I don't understand this report ;( Does it mean: you created JFrame add the JButton into this frame and run this frame, than 'f' causes button push ? or what ?
This is happening on Windows with both Mustang and Tiger 1.5.0_06 It happens while the form is in the designer. What happens is that the mnemonic on the form is given control. If you press alt+f the menmonic on the form in the designer is triggered and the design time button will appear to have been pressed. The mnemonic should only work at runtime. Before the mnemonic is assigned to the button alt-f triggers the file menu in netbeans as it should. After the button is assigned a mnemonic value, alt-f will no longer work while the form is open in the designer. I hope this clears it up.
I am sorry, I am not able to reproduce this issue. Could you, please, provide more details? What look and feel do you use? What is selected (in the IDE/in the form) when you invoke Alt+F? Does it happen always or only for some configurations (e.g. forms, selection, l&f etc.)?
No additional information provided => closing as WORKSFORME.