Component Border From Form Designed code had null #8337
Labels
FormDesigner
GUI builder, also known as Matisse
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
Apache NetBeans version
Apache NetBeans 25
What happened
I encountered an issue with Netbeans 25.
I installed AlamLinux 9 in a VM.
Then I installed openjdk 21 (latest as of 3/13/2025)
Then I install Netbeans 25 from the 'noarch' rpm.
I started Netbeans and made a new gradle project.
Then I made a JFrame form.
Then I added a panel. Tried to set the panel boarder but there were no options in the dropdown menu of the GUI designer.
The code it had generated would not compile.
So then I closed netbeans.
I downgraded to openjdk 17.
Restarted netbeans, and now the GUI designer would work, A raised bevel border could be created, and the code
would compile.
So now I've gone back to openjdk 21, and it also still seems to work. So this is good.
But I'm not sure why the original run would have failed, or if the issue is with first creating a java project,
or having first run with openjdk 21 versus 17.
Language / Project Type / NetBeans Component
Java JFrame Form Border
How to reproduce
Hopefully the above steps reproduce the issue for you.
Did this work correctly in an earlier version?
No / Don't know
Operating System
AlmaLinux 9
JDK
openjdk 21
Apache NetBeans packaging
Other, Apache NetBeans provided installer
Anything else
Seemed to just be on the first run.
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: