Strange behavior with a JavaFX Project
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 17
### What happened
I started a Java Ant project, and then needed to use JavaFX, so I created a JavaFX project and copied all my classes over to the new project. If I run the program, then make a CSS change in another class, I'll refer to it as ClassA, the CSS change will not take effect when I run the program again. If I make a change to a different class, ClassB, and then run the program, the changes will take effect.
I did find a broken reference in Project Properties -> Libraries -> Run. I haven't been able to figure out how to resolve that or if it's causing my problem.

### How to reproduce
_No response_
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11
### JDK
Zulu JDK 20.28.85 Windows x64
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start by reproducing the JavaFX project behavior on Windows with the reported JDK, changing ClassA's CSS and then ClassB before rerunning. Inspect Project Properties > Libraries > Run, including the reported broken reference, and determine whether the issue is resolved when CSS changes consistently take effect after a run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100