mc5-dev opened a new issue, #8780:
URL: https://github.com/apache/netbeans/issues/8780
### Apache NetBeans version
Apache NetBeans 27
### What happened
Editing an existing Swing screen in the GUI editor caused all JButton
mnemonics to disappear. Netbeans stopped generating the code to set them. The
mnemonic values can be still seen in the properties editor, but attempting to
change results in a popup saying "Invalid value: s" ('s' is mnemonic trying to
set in this eg). The value then gets blanked out. Strangely, if you enter
'ss' as value (without the quotes) it accepts it.
Note that you only see this error if you attempt to edit the mnemonic field,
but any other edits in GUI editor still cause all the mnemonics to disappear,
without any error displayed.
### Language / Project Type / NetBeans Component
Java Maven, Swing
### How to reproduce
Create a brand new Java Maven project.
Add a new JPanel Form
In GUI editor, from the Pallet->Swing Controls, click on "Button" and place
anywhere on panel.
In the Properties panel, enter a single letter Eg s, and tab out of field
Popup error is displayed.
### Did this work correctly in an earlier version?
Apache NetBeans 24 or earlier
### Operating System
Windows 11
### JDK
JDK 21
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists