[Support] Re: error "records are not supported in -source 11 (use -source 16 or higher to enable records)"

2021-11-12 Thread Richard Schmidt
I have installed graalvm-ce-java16-21.2.0 which provides java 16 SDK and and have downloaded and installed openjfx.io OpenJFX 16 and have developed a javafx Maven projects in NetBeans 12.4 which has ben working fine. Now I have declared the following record (the new data record type introduced in J

Blank Terminal window on M1 Mac with Netbeans 12.5

2021-11-12 Thread Tim Mullé
Hi, Just found something interesting when running Netbeans on my new M1 Mac (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where the “Open in Terminal” option under the Tools menu opens a blank terminal. This didn’t happen on Big Sur x86_64 with either JDK.. Plus, I don’t seem to get any errors

[NBPlatform-based app with Maven] Duplicate jars for each module depending on the same library

2021-11-12 Thread Matteo Di Giovinazzo
Hello everyone, I'm converting a NetBeans Platform based application from Ant to Maven and instead of using library wrapper modules I'd like to take advantage of Maven dependencies. But I'm stuck with a problem. As a simple test case, I created a very simple suite (issuesuite) with two modules (mo

Re: JTextField and JButton variables can't use setEnabled(false) methods

2021-11-12 Thread Scott Palmer
Or put it in an initialization block by surrounding the code with { } Scott > On Nov 12, 2021, at 5:00 AM, Pieter van den Hombergh > wrote: > >  > you are calling a method in the class body, but there you can only do > declarations (of fields and methods). To do this kind of call you must be

Re: JTextField and JButton variables can't use setEnabled(false) methods

2021-11-12 Thread Pieter van den Hombergh
you are calling a method in the class body, but there you can only do declarations (of fields and methods). To do this kind of call you must be inside a method. Move the call to setEnabled(...)to inside a method or into the constructor. The most appropriate method for this might be something init()