The Options ruban remains white with DarkLaf

2021-11-14 Thread Jerome Lelasseux
Hi,
I made a new release of my Netbeans platform application (NB 12.5, JDK11.0.13, 
DarkLaf) and I noticed that the Options ruban is now white (see image 
attached). It was dark when I built the previous release using NB12.3 (and it's 
also dark in the Options dialog of NB12.5 when using DarkLaf). 

I could not find any change in my code that could explain this. If someone has 
an idea where I should search...

ThanksJerome

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

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

2021-11-14 Thread Bradley Willcott

Hi Richard.
Check a couple of things for me:
- pom.xml:
    - Under properties:
        - *16*
      *${java.version}*
      *${java.version}*
  *${java.version}*
- Project Properties: Select the project/right click/select Properties:
    - Select Sources: Source/Binary Format: *16*
    - Build/Compile: Java Platform: *JDK 16 (Default)* <= default 
reference is optional


If these are as you have them, let me know.  Further digging will be 
necessary. 

The Project Properties has caught me out a number of times. 

Brad.

On 13/11/21 05:34, Richard Schmidt wrote:
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 Java 14):


record EventTargetFinder(List> filterTargetTypes) {
    EventTargetFinder(List> filterTargetTypes) {
        this.filterTargetTypes = 
Collections.unmodifiableList(filterTargetTypes);

    }

NetBeans is telling me "records are not supported in -source 11 (use 
-source 16 or higher to enable records)".


I have searched Google and StackOverFlow and am unable to find 
relavant information. I have examined the NetBeans project properties 
and have found that the porject compiles with Java 16, but in the 
category "Sources" there is label "Source/Binary Format:" with a combo 
box with the entry "11"  selected and I am unable to change the selection.


Any help with getting over this hump would be appreciated.