syntax check in javafx fxml file is reporting 'does not support property' in KeyCodeCombination
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 22
### What happened
had scenebuilder create a fxml file. opened file in netbeans. netbeans indicated errors in file.
class 'javafx.scene.input.KeyCodeCombination' does not support property 'alt'. also for 'control' 'meta' 'shift' 'shortcut'.
### Language / Project Type / NetBeans Component
javafx
### How to reproduce
create stage with menubar with menuitem with shortcut in scenebuilder. open fxml file in netbeans.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
ubuntu linux mate hybrid
### JDK
version "21.0.3" 2024-04-16 build 21.0.3+9-Ubuntu-1ubuntu122.04.1
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
always.
### Are you willing to submit a pull request?
No

### Used version scenebuilder
21.0.0
### Used version javafx
javafx 21
Contributor guide
Research direction
Reproduce the issue by opening a Scene Builder-generated FXML file with a menu-item shortcut in NetBeans 22 using JavaFX 21. Start by examining the FXML syntax validation for KeyCodeCombination and its alt, control, meta, shift, and shortcut properties. Done means valid properties no longer produce false “does not support property” errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100