apache / apache/netbeans

Strange behavior with a JavaFX Project

Open
#5,702 2 comments 0 reactions 0 assignees View on GitHub
kind:bug
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.

![image_2023-03-22_170037921](https://user-images.githubusercontent.com/64913190/227036973-7c6a43d6-5ceb-4b33-83b0-f3d390f72451.png)

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.