Re: How to choose the browser for the administration console of Payara?

2020-03-05 Thread Richard Grin
Thanks Geertjan.

My system's default browser is Chrome, so I have changed the Web browser in the 
General preferences and now Chrome is used for the admin console.

So simple... :-)

Richard

Le 05/03/2020 à 23:23, Geertjan Wielenga a écrit :
Probably the Options Window or change your system’s default browser.

Gj

On Thu, 5 Mar 2020 at 23:04, Richard Grin 
mailto:richard.g...@univ-cotedazur.fr>> wrote:
Hi,

NetBeans 11.3, Windows 10.

In the Services tab, entry Servers > Payara Server 5.201, right click >
"View Domain Admin Console" launches Internet Explorer.

I'd rather Chrome or Firefox. How to configure it?

Richard



Re: Location in Netbeans to Specify JVM Args

2020-03-05 Thread Geertjan Wielenga
However you would do it in Maven is how you would do it in NetBeans, since
NetBeans is just a GUI wrapper around the Maven command line.

Gj

On Thu, Mar 5, 2020 at 11:18 PM SUPERGAN, TOM  wrote:

> I have a maven Java web project, and I need to pass in a JVM argument to
> specify the path to an external properties directory.
>
>
>
> The rest of the team on this project uses Eclipse, and they just add the
> argument –Dprop.name=prop.value in the server’s config.
>
>
>
> Where does the –D JVM setting go in Netbeans 11.3?  I tried Project
> Properties Configurations and Actions to no effect.
>
>
>
>
>


Re: How to choose the browser for the administration console of Payara?

2020-03-05 Thread Geertjan Wielenga
Probably the Options Window or change your system’s default browser.

Gj

On Thu, 5 Mar 2020 at 23:04, Richard Grin 
wrote:

> Hi,
>
> NetBeans 11.3, Windows 10.
>
> In the Services tab, entry Servers > Payara Server 5.201, right click >
> "View Domain Admin Console" launches Internet Explorer.
>
> I'd rather Chrome or Firefox. How to configure it?
>
> Richard
>
>


Location in Netbeans to Specify JVM Args

2020-03-05 Thread SUPERGAN, TOM
I have a maven Java web project, and I need to pass in a JVM argument to 
specify the path to an external properties directory.

The rest of the team on this project uses Eclipse, and they just add the 
argument -Dprop.name=prop.value in the server's config.

Where does the -D JVM setting go in Netbeans 11.3?  I tried Project Properties 
Configurations and Actions to no effect.




How to choose the browser for the administration console of Payara?

2020-03-05 Thread Richard Grin
Hi,

NetBeans 11.3, Windows 10.

In the Services tab, entry Servers > Payara Server 5.201, right click > 
"View Domain Admin Console" launches Internet Explorer.

I'd rather Chrome or Firefox. How to configure it?

Richard



Re: Preview features not enabling

2020-03-05 Thread Ty Young


On 3/5/20 10:41 AM, Geertjan Wielenga wrote:

If you want to make it less wordy, please do so. :-)



"In order to use JDK 14 features, such as records, you will need to run 
Netbeans 11.3 on JDK 14 and have the nb-javac plugin uninstalled."



Where "nb-javac plugin uninstalled" should probably link to a wiki page 
on how to uninstall it, if one exists.





And though newer JDKs than 14 may work with NetBeans right now, we 
haven't tried that out or targeted those releases, so best to leave it 
so that we don't imply that we have.



Fair enough.




Gj

On Thu, Mar 5, 2020 at 5:39 PM Ty Young > wrote:



On 3/5/20 10:31 AM, Geertjan Wielenga wrote:

Awesome, this is great news.

And have added this note in the below, if it can be clearer
please say so:

"To use JDK 14 features, such as the new 'record' keyword, in the
Java Editor, you’ll need to run Apache NetBeans 11.3 itself on
JDK 14, so that Apache NetBeans will use the Java compiler from
JDK 14 for code recognition, syntax coloring, etc. Also, make
sure to uninstall nb-javac, if it is installed, and not to
install and use it, when prompted, so that the Java compiler from
JDK 14 will be used, rather than nb-javac, which does not support
JDK 14."



Personally I think it should be changed to "JDK 14 or newer".
Netbeans doesn't seem to be overly dependant on the exact JDK
version(i've used in-development builds for years now) and records
are going to exists in the future. Otherwise it does the job even
if a bit wordy.




https://netbeans.apache.org/download/nb113/index.html

Gj

On Thu, Mar 5, 2020 at 5:29 PM Ty Young mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 10:13 AM, Geertjan Wielenga wrote:

And, also, make sure to uninstall nb-javac, if it is installed.



nb-javac strikes again. Works perfectly fine without it
installed.


And it looks like the bugs caused by not having nb-javac
installed where fixed in 11.3, so it's actually usable. Nice.




Gj

On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga
mailto:geert...@apache.org>> wrote:

on JDK 14, we do not have a nb-javac for JDK 14, which
means the editor will use the javac from the JDK it runs
on.

Gj

On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga
mailto:geert...@apache.org>> wrote:

Yes, but you are now -- after the release of 11.3 --
providing feedback on the NetBeans support of records.

Any problem you find at this stage is too late to be
fixed in 11.3... while there have been betas and all
kinds of developments going on for months now, your
help would have been very useful.

 Make sure you're running NetBeans itself on JDK

On Thu, Mar 5, 2020 at 5:01 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:52 AM, Geertjan Wielenga wrote:

But there seems to be JDK 15 referenced here,
which is not supported by NetBeans:


https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml



Records themselves are already in Netbeans so
why does the version matter? Are they hardcoded
to 14 or something? The IDE works just fine
otherwise...




In general, though, how do you see this
approach working out for you -- waiting for a
release to come out and then trying it out and
providing feedback, instead of doing it during
the development cycle, there have been several
beta releases for you to provide feedback on.



I'm not providing feedback on records, but
Project Panama.




Gj

On Thu, Mar 5, 2020 at 4:50 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:42 AM, Geertjan Wielenga wrote:

Probably you don't have JDK 14 set in the
project.



It's set to JDK 15, the same as the boot JDK.




Anyway, impossible to help if you don't
put a sample project with the problem
somewhere for someone to take a look at.



Actual project is here:


https://github.com/BlueGoliath/Crosspoint


requires Project Panama JDK build from the
foreign-jextract branch to build.




Gj

On Thu, Mar 5, 2020 at 4:40 PM Ty 

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
If you want to make it less wordy, please do so. :-)

And though newer JDKs than 14 may work with NetBeans right now, we haven't
tried that out or targeted those releases, so best to leave it so that we
don't imply that we have.

Gj

On Thu, Mar 5, 2020 at 5:39 PM Ty Young  wrote:

>
> On 3/5/20 10:31 AM, Geertjan Wielenga wrote:
>
> Awesome, this is great news.
>
> And have added this note in the below, if it can be clearer please say so:
>
> "To use JDK 14 features, such as the new 'record' keyword, in the Java
> Editor, you’ll need to run Apache NetBeans 11.3 itself on JDK 14, so that
> Apache NetBeans will use the Java compiler from JDK 14 for code
> recognition, syntax coloring, etc. Also, make sure to uninstall nb-javac,
> if it is installed, and not to install and use it, when prompted, so that
> the Java compiler from JDK 14 will be used, rather than nb-javac, which
> does not support JDK 14."
>
>
> Personally I think it should be changed to "JDK 14 or newer". Netbeans
> doesn't seem to be overly dependant on the exact JDK version(i've used
> in-development builds for years now) and records are going to exists in the
> future. Otherwise it does the job even if a bit wordy.
>
>
>
> https://netbeans.apache.org/download/nb113/index.html
>
> Gj
>
> On Thu, Mar 5, 2020 at 5:29 PM Ty Young  wrote:
>
>>
>> On 3/5/20 10:13 AM, Geertjan Wielenga wrote:
>>
>> And, also, make sure to uninstall nb-javac, if it is installed.
>>
>>
>> nb-javac strikes again. Works perfectly fine without it installed.
>>
>>
>> And it looks like the bugs caused by not having nb-javac installed where
>> fixed in 11.3, so it's actually usable. Nice.
>>
>>
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga 
>> wrote:
>>
>>> on JDK 14, we do not have a nb-javac for JDK 14, which means the editor
>>> will use the javac from the JDK it runs on.
>>>
>>> Gj
>>>
>>> On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga 
>>> wrote:
>>>
 Yes, but you are now -- after the release of 11.3 -- providing feedback
 on the NetBeans support of records.

 Any problem you find at this stage is too late to be fixed in 11.3...
 while there have been betas and all kinds of developments going on for
 months now, your help would have been very useful.

  Make sure you're running NetBeans itself on JDK

 On Thu, Mar 5, 2020 at 5:01 PM Ty Young  wrote:

>
> On 3/5/20 9:52 AM, Geertjan Wielenga wrote:
>
> But there seems to be JDK 15 referenced here, which is not supported
> by NetBeans:
>
> https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml
>
>
> Records themselves are already in Netbeans so why does the version
> matter? Are they hardcoded to 14 or something? The IDE works just fine
> otherwise...
>
>
>
> In general, though, how do you see this approach working out for you
> -- waiting for a release to come out and then trying it out and providing
> feedback, instead of doing it during the development cycle, there have 
> been
> several beta releases for you to provide feedback on.
>
>
> I'm not providing feedback on records, but Project Panama.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 4:50 PM Ty Young  wrote:
>
>>
>> On 3/5/20 9:42 AM, Geertjan Wielenga wrote:
>>
>> Probably you don't have JDK 14 set in the project.
>>
>>
>> It's set to JDK 15, the same as the boot JDK.
>>
>>
>>
>> Anyway, impossible to help if you don't put a sample project with the
>> problem somewhere for someone to take a look at.
>>
>>
>> Actual project is here:
>>
>>
>> https://github.com/BlueGoliath/Crosspoint
>>
>>
>> requires Project Panama JDK build from the foreign-jextract branch to
>> build.
>>
>>
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 4:40 PM Ty Young 
>> wrote:
>>
>>>
>>> On 3/5/20 9:18 AM, Geertjan Wielenga wrote:
>>>
>>> https://netbeans.apache.org/download/nb113/index.html
>>>
>>> Read the above, thanks.
>>>
>>>
>>> Going by naming  should do the same thing, but it looks
>>> like it doesn't.
>>>
>>>
>>> Oh well. Preview features are enabled now but records aren't
>>> working. The java.lang.Record class is visible so records are apart of 
>>> the
>>> JDK, it's just I can't make one:
>>>
>>>
>>> public record Foo(String x)
>>> {
>>>
>>> }
>>>
>>>
>>> errors on record.
>>>
>>>
>>>
>>> Gj
>>>
>>> On Thu, Mar 5, 2020 at 4:12 PM Ty Young 
>>> wrote:
>>>
 Preview features in Netbeans 11.2(and above) aren't being activated
 despite being enabled in the maven build file:

 org.apache.maven.plugins
 maven-compiler-plugin
  3.6.2
  
  15 

Re: Preview features not enabling

2020-03-05 Thread Ty Young


On 3/5/20 10:31 AM, Geertjan Wielenga wrote:

Awesome, this is great news.

And have added this note in the below, if it can be clearer please say so:

"To use JDK 14 features, such as the new 'record' keyword, in the Java 
Editor, you’ll need to run Apache NetBeans 11.3 itself on JDK 14, so 
that Apache NetBeans will use the Java compiler from JDK 14 for code 
recognition, syntax coloring, etc. Also, make sure to uninstall 
nb-javac, if it is installed, and not to install and use it, when 
prompted, so that the Java compiler from JDK 14 will be used, rather 
than nb-javac, which does not support JDK 14."



Personally I think it should be changed to "JDK 14 or newer". Netbeans 
doesn't seem to be overly dependant on the exact JDK version(i've used 
in-development builds for years now) and records are going to exists in 
the future. Otherwise it does the job even if a bit wordy.





https://netbeans.apache.org/download/nb113/index.html

Gj

On Thu, Mar 5, 2020 at 5:29 PM Ty Young > wrote:



On 3/5/20 10:13 AM, Geertjan Wielenga wrote:

And, also, make sure to uninstall nb-javac, if it is installed.



nb-javac strikes again. Works perfectly fine without it installed.


And it looks like the bugs caused by not having nb-javac installed
where fixed in 11.3, so it's actually usable. Nice.




Gj

On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga
mailto:geert...@apache.org>> wrote:

on JDK 14, we do not have a nb-javac for JDK 14, which means
the editor will use the javac from the JDK it runs on.

Gj

On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga
mailto:geert...@apache.org>> wrote:

Yes, but you are now -- after the release of 11.3 --
providing feedback on the NetBeans support of records.

Any problem you find at this stage is too late to be
fixed in 11.3... while there have been betas and all
kinds of developments going on for months now, your help
would have been very useful.

 Make sure you're running NetBeans itself on JDK

On Thu, Mar 5, 2020 at 5:01 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:52 AM, Geertjan Wielenga wrote:

But there seems to be JDK 15 referenced here, which
is not supported by NetBeans:

https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml



Records themselves are already in Netbeans so why
does the version matter? Are they hardcoded to 14 or
something? The IDE works just fine otherwise...




In general, though, how do you see this approach
working out for you -- waiting for a release to come
out and then trying it out and providing feedback,
instead of doing it during the development cycle,
there have been several beta releases for you to
provide feedback on.



I'm not providing feedback on records, but Project
Panama.




Gj

On Thu, Mar 5, 2020 at 4:50 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:42 AM, Geertjan Wielenga wrote:

Probably you don't have JDK 14 set in the project.



It's set to JDK 15, the same as the boot JDK.




Anyway, impossible to help if you don't put a
sample project with the problem somewhere for
someone to take a look at.



Actual project is here:


https://github.com/BlueGoliath/Crosspoint


requires Project Panama JDK build from the
foreign-jextract branch to build.




Gj

On Thu, Mar 5, 2020 at 4:40 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:18 AM, Geertjan Wielenga wrote:

https://netbeans.apache.org/download/nb113/index.html

Read the above, thanks.



Going by naming  should do the
same thing, but it looks like it doesn't.


Oh well. Preview features are enabled now
but records aren't working. The
java.lang.Record class is visible so
records are apart of the JDK, it's just I
can't make one:


public record Foo(String x)
{

}


errors on record.




Gj

On Thu, Mar 5, 2020 at 4:12 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
Awesome, this is great news.

And have added this note in the below, if it can be clearer please say so:

"To use JDK 14 features, such as the new 'record' keyword, in the Java
Editor, you’ll need to run Apache NetBeans 11.3 itself on JDK 14, so that
Apache NetBeans will use the Java compiler from JDK 14 for code
recognition, syntax coloring, etc. Also, make sure to uninstall nb-javac,
if it is installed, and not to install and use it, when prompted, so that
the Java compiler from JDK 14 will be used, rather than nb-javac, which
does not support JDK 14."

https://netbeans.apache.org/download/nb113/index.html

Gj

On Thu, Mar 5, 2020 at 5:29 PM Ty Young  wrote:

>
> On 3/5/20 10:13 AM, Geertjan Wielenga wrote:
>
> And, also, make sure to uninstall nb-javac, if it is installed.
>
>
> nb-javac strikes again. Works perfectly fine without it installed.
>
>
> And it looks like the bugs caused by not having nb-javac installed where
> fixed in 11.3, so it's actually usable. Nice.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga 
> wrote:
>
>> on JDK 14, we do not have a nb-javac for JDK 14, which means the editor
>> will use the javac from the JDK it runs on.
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga 
>> wrote:
>>
>>> Yes, but you are now -- after the release of 11.3 -- providing feedback
>>> on the NetBeans support of records.
>>>
>>> Any problem you find at this stage is too late to be fixed in 11.3...
>>> while there have been betas and all kinds of developments going on for
>>> months now, your help would have been very useful.
>>>
>>>  Make sure you're running NetBeans itself on JDK
>>>
>>> On Thu, Mar 5, 2020 at 5:01 PM Ty Young  wrote:
>>>

 On 3/5/20 9:52 AM, Geertjan Wielenga wrote:

 But there seems to be JDK 15 referenced here, which is not supported by
 NetBeans:

 https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml


 Records themselves are already in Netbeans so why does the version
 matter? Are they hardcoded to 14 or something? The IDE works just fine
 otherwise...



 In general, though, how do you see this approach working out for you --
 waiting for a release to come out and then trying it out and providing
 feedback, instead of doing it during the development cycle, there have been
 several beta releases for you to provide feedback on.


 I'm not providing feedback on records, but Project Panama.



 Gj

 On Thu, Mar 5, 2020 at 4:50 PM Ty Young  wrote:

>
> On 3/5/20 9:42 AM, Geertjan Wielenga wrote:
>
> Probably you don't have JDK 14 set in the project.
>
>
> It's set to JDK 15, the same as the boot JDK.
>
>
>
> Anyway, impossible to help if you don't put a sample project with the
> problem somewhere for someone to take a look at.
>
>
> Actual project is here:
>
>
> https://github.com/BlueGoliath/Crosspoint
>
>
> requires Project Panama JDK build from the foreign-jextract branch to
> build.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 4:40 PM Ty Young  wrote:
>
>>
>> On 3/5/20 9:18 AM, Geertjan Wielenga wrote:
>>
>> https://netbeans.apache.org/download/nb113/index.html
>>
>> Read the above, thanks.
>>
>>
>> Going by naming  should do the same thing, but it looks
>> like it doesn't.
>>
>>
>> Oh well. Preview features are enabled now but records aren't working.
>> The java.lang.Record class is visible so records are apart of the JDK, 
>> it's
>> just I can't make one:
>>
>>
>> public record Foo(String x)
>> {
>>
>> }
>>
>>
>> errors on record.
>>
>>
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 4:12 PM Ty Young 
>> wrote:
>>
>>> Preview features in Netbeans 11.2(and above) aren't being activated
>>> despite being enabled in the maven build file:
>>>
>>> org.apache.maven.plugins
>>> maven-compiler-plugin
>>>  3.6.2
>>>  
>>>  15 
>>> --enable-preview
>>>  --add-modules
>>> jdk.incubator.foreign
>>>  --open-modules
>>> jdk.incubator.foreign.unsafe
>>>  
>>>
>>> Or at least there is no indication that it is and I can't make a
>>> record.
>>> Is there a way to tell if preview features are enabled?
>>>
>>>
>>> -
>>> 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: Preview features not enabling

2020-03-05 Thread Ty Young


On 3/5/20 10:13 AM, Geertjan Wielenga wrote:

And, also, make sure to uninstall nb-javac, if it is installed.



nb-javac strikes again. Works perfectly fine without it installed.


And it looks like the bugs caused by not having nb-javac installed where 
fixed in 11.3, so it's actually usable. Nice.





Gj

On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga > wrote:


on JDK 14, we do not have a nb-javac for JDK 14, which means the
editor will use the javac from the JDK it runs on.

Gj

On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga
mailto:geert...@apache.org>> wrote:

Yes, but you are now -- after the release of 11.3 -- providing
feedback on the NetBeans support of records.

Any problem you find at this stage is too late to be fixed in
11.3... while there have been betas and all kinds of
developments going on for months now, your help would have
been very useful.

 Make sure you're running NetBeans itself on JDK

On Thu, Mar 5, 2020 at 5:01 PM Ty Young mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:52 AM, Geertjan Wielenga wrote:

But there seems to be JDK 15 referenced here, which is
not supported by NetBeans:

https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml



Records themselves are already in Netbeans so why does the
version matter? Are they hardcoded to 14 or something? The
IDE works just fine otherwise...




In general, though, how do you see this approach working
out for you -- waiting for a release to come out and then
trying it out and providing feedback, instead of doing it
during the development cycle, there have been several
beta releases for you to provide feedback on.



I'm not providing feedback on records, but Project Panama.




Gj

On Thu, Mar 5, 2020 at 4:50 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:42 AM, Geertjan Wielenga wrote:

Probably you don't have JDK 14 set in the project.



It's set to JDK 15, the same as the boot JDK.




Anyway, impossible to help if you don't put a sample
project with the problem somewhere for someone to
take a look at.



Actual project is here:


https://github.com/BlueGoliath/Crosspoint


requires Project Panama JDK build from the
foreign-jextract branch to build.




Gj

On Thu, Mar 5, 2020 at 4:40 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:18 AM, Geertjan Wielenga wrote:

https://netbeans.apache.org/download/nb113/index.html

Read the above, thanks.



Going by naming  should do the same
thing, but it looks like it doesn't.


Oh well. Preview features are enabled now but
records aren't working. The java.lang.Record
class is visible so records are apart of the
JDK, it's just I can't make one:


public record Foo(String x)
{

}


errors on record.




Gj

On Thu, Mar 5, 2020 at 4:12 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:

Preview features in Netbeans 11.2(and
above) aren't being activated
despite being enabled in the maven build file:

org.apache.maven.plugins
maven-compiler-plugin
3.6.2

15 
--enable-preview
--add-modules
jdk.incubator.foreign
--open-modules
jdk.incubator.foreign.unsafe


Or at least there is no indication that it
is and I can't make a record.
Is there a way to tell if preview features
are enabled?



-
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
 

Re: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
And, also, make sure to uninstall nb-javac, if it is installed.

Gj

On Thu, Mar 5, 2020 at 5:06 PM Geertjan Wielenga 
wrote:

> on JDK 14, we do not have a nb-javac for JDK 14, which means the editor
> will use the javac from the JDK it runs on.
>
> Gj
>
> On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga 
> wrote:
>
>> Yes, but you are now -- after the release of 11.3 -- providing feedback
>> on the NetBeans support of records.
>>
>> Any problem you find at this stage is too late to be fixed in 11.3...
>> while there have been betas and all kinds of developments going on for
>> months now, your help would have been very useful.
>>
>>  Make sure you're running NetBeans itself on JDK
>>
>> On Thu, Mar 5, 2020 at 5:01 PM Ty Young  wrote:
>>
>>>
>>> On 3/5/20 9:52 AM, Geertjan Wielenga wrote:
>>>
>>> But there seems to be JDK 15 referenced here, which is not supported by
>>> NetBeans:
>>>
>>> https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml
>>>
>>>
>>> Records themselves are already in Netbeans so why does the version
>>> matter? Are they hardcoded to 14 or something? The IDE works just fine
>>> otherwise...
>>>
>>>
>>>
>>> In general, though, how do you see this approach working out for you --
>>> waiting for a release to come out and then trying it out and providing
>>> feedback, instead of doing it during the development cycle, there have been
>>> several beta releases for you to provide feedback on.
>>>
>>>
>>> I'm not providing feedback on records, but Project Panama.
>>>
>>>
>>>
>>> Gj
>>>
>>> On Thu, Mar 5, 2020 at 4:50 PM Ty Young  wrote:
>>>

 On 3/5/20 9:42 AM, Geertjan Wielenga wrote:

 Probably you don't have JDK 14 set in the project.


 It's set to JDK 15, the same as the boot JDK.



 Anyway, impossible to help if you don't put a sample project with the
 problem somewhere for someone to take a look at.


 Actual project is here:


 https://github.com/BlueGoliath/Crosspoint


 requires Project Panama JDK build from the foreign-jextract branch to
 build.



 Gj

 On Thu, Mar 5, 2020 at 4:40 PM Ty Young  wrote:

>
> On 3/5/20 9:18 AM, Geertjan Wielenga wrote:
>
> https://netbeans.apache.org/download/nb113/index.html
>
> Read the above, thanks.
>
>
> Going by naming  should do the same thing, but it looks
> like it doesn't.
>
>
> Oh well. Preview features are enabled now but records aren't working.
> The java.lang.Record class is visible so records are apart of the JDK, 
> it's
> just I can't make one:
>
>
> public record Foo(String x)
> {
>
> }
>
>
> errors on record.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 4:12 PM Ty Young  wrote:
>
>> Preview features in Netbeans 11.2(and above) aren't being activated
>> despite being enabled in the maven build file:
>>
>> org.apache.maven.plugins
>> maven-compiler-plugin
>>  3.6.2
>>  
>>  15 
>> --enable-preview
>>  --add-modules
>> jdk.incubator.foreign
>>  --open-modules
>> jdk.incubator.foreign.unsafe
>>  
>>
>> Or at least there is no indication that it is and I can't make a
>> record.
>> Is there a way to tell if preview features are enabled?
>>
>>
>> -
>> 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: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
on JDK 14, we do not have a nb-javac for JDK 14, which means the editor
will use the javac from the JDK it runs on.

Gj

On Thu, Mar 5, 2020 at 5:05 PM Geertjan Wielenga 
wrote:

> Yes, but you are now -- after the release of 11.3 -- providing feedback on
> the NetBeans support of records.
>
> Any problem you find at this stage is too late to be fixed in 11.3...
> while there have been betas and all kinds of developments going on for
> months now, your help would have been very useful.
>
>  Make sure you're running NetBeans itself on JDK
>
> On Thu, Mar 5, 2020 at 5:01 PM Ty Young  wrote:
>
>>
>> On 3/5/20 9:52 AM, Geertjan Wielenga wrote:
>>
>> But there seems to be JDK 15 referenced here, which is not supported by
>> NetBeans:
>>
>> https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml
>>
>>
>> Records themselves are already in Netbeans so why does the version
>> matter? Are they hardcoded to 14 or something? The IDE works just fine
>> otherwise...
>>
>>
>>
>> In general, though, how do you see this approach working out for you --
>> waiting for a release to come out and then trying it out and providing
>> feedback, instead of doing it during the development cycle, there have been
>> several beta releases for you to provide feedback on.
>>
>>
>> I'm not providing feedback on records, but Project Panama.
>>
>>
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 4:50 PM Ty Young  wrote:
>>
>>>
>>> On 3/5/20 9:42 AM, Geertjan Wielenga wrote:
>>>
>>> Probably you don't have JDK 14 set in the project.
>>>
>>>
>>> It's set to JDK 15, the same as the boot JDK.
>>>
>>>
>>>
>>> Anyway, impossible to help if you don't put a sample project with the
>>> problem somewhere for someone to take a look at.
>>>
>>>
>>> Actual project is here:
>>>
>>>
>>> https://github.com/BlueGoliath/Crosspoint
>>>
>>>
>>> requires Project Panama JDK build from the foreign-jextract branch to
>>> build.
>>>
>>>
>>>
>>> Gj
>>>
>>> On Thu, Mar 5, 2020 at 4:40 PM Ty Young  wrote:
>>>

 On 3/5/20 9:18 AM, Geertjan Wielenga wrote:

 https://netbeans.apache.org/download/nb113/index.html

 Read the above, thanks.


 Going by naming  should do the same thing, but it looks
 like it doesn't.


 Oh well. Preview features are enabled now but records aren't working.
 The java.lang.Record class is visible so records are apart of the JDK, it's
 just I can't make one:


 public record Foo(String x)
 {

 }


 errors on record.



 Gj

 On Thu, Mar 5, 2020 at 4:12 PM Ty Young  wrote:

> Preview features in Netbeans 11.2(and above) aren't being activated
> despite being enabled in the maven build file:
>
> org.apache.maven.plugins
> maven-compiler-plugin
>  3.6.2
>  
>  15 
> --enable-preview
>  --add-modules
> jdk.incubator.foreign
>  --open-modules
> jdk.incubator.foreign.unsafe
>  
>
> Or at least there is no indication that it is and I can't make a
> record.
> Is there a way to tell if preview features are enabled?
>
>
> -
> 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: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
Yes, but you are now -- after the release of 11.3 -- providing feedback on
the NetBeans support of records.

Any problem you find at this stage is too late to be fixed in 11.3... while
there have been betas and all kinds of developments going on for months
now, your help would have been very useful.

 Make sure you're running NetBeans itself on JDK

On Thu, Mar 5, 2020 at 5:01 PM Ty Young  wrote:

>
> On 3/5/20 9:52 AM, Geertjan Wielenga wrote:
>
> But there seems to be JDK 15 referenced here, which is not supported by
> NetBeans:
>
> https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml
>
>
> Records themselves are already in Netbeans so why does the version matter?
> Are they hardcoded to 14 or something? The IDE works just fine otherwise...
>
>
>
> In general, though, how do you see this approach working out for you --
> waiting for a release to come out and then trying it out and providing
> feedback, instead of doing it during the development cycle, there have been
> several beta releases for you to provide feedback on.
>
>
> I'm not providing feedback on records, but Project Panama.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 4:50 PM Ty Young  wrote:
>
>>
>> On 3/5/20 9:42 AM, Geertjan Wielenga wrote:
>>
>> Probably you don't have JDK 14 set in the project.
>>
>>
>> It's set to JDK 15, the same as the boot JDK.
>>
>>
>>
>> Anyway, impossible to help if you don't put a sample project with the
>> problem somewhere for someone to take a look at.
>>
>>
>> Actual project is here:
>>
>>
>> https://github.com/BlueGoliath/Crosspoint
>>
>>
>> requires Project Panama JDK build from the foreign-jextract branch to
>> build.
>>
>>
>>
>> Gj
>>
>> On Thu, Mar 5, 2020 at 4:40 PM Ty Young  wrote:
>>
>>>
>>> On 3/5/20 9:18 AM, Geertjan Wielenga wrote:
>>>
>>> https://netbeans.apache.org/download/nb113/index.html
>>>
>>> Read the above, thanks.
>>>
>>>
>>> Going by naming  should do the same thing, but it looks
>>> like it doesn't.
>>>
>>>
>>> Oh well. Preview features are enabled now but records aren't working.
>>> The java.lang.Record class is visible so records are apart of the JDK, it's
>>> just I can't make one:
>>>
>>>
>>> public record Foo(String x)
>>> {
>>>
>>> }
>>>
>>>
>>> errors on record.
>>>
>>>
>>>
>>> Gj
>>>
>>> On Thu, Mar 5, 2020 at 4:12 PM Ty Young  wrote:
>>>
 Preview features in Netbeans 11.2(and above) aren't being activated
 despite being enabled in the maven build file:

 org.apache.maven.plugins
 maven-compiler-plugin
  3.6.2
  
  15 
 --enable-preview
  --add-modules
 jdk.incubator.foreign
  --open-modules
 jdk.incubator.foreign.unsafe
  

 Or at least there is no indication that it is and I can't make a
 record.
 Is there a way to tell if preview features are enabled?


 -
 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: Preview features not enabling

2020-03-05 Thread Ty Young


On 3/5/20 9:52 AM, Geertjan Wielenga wrote:
But there seems to be JDK 15 referenced here, which is not supported 
by NetBeans:


https://github.com/BlueGoliath/Crosspoint/blob/master/pom.xml



Records themselves are already in Netbeans so why does the version 
matter? Are they hardcoded to 14 or something? The IDE works just fine 
otherwise...





In general, though, how do you see this approach working out for you 
-- waiting for a release to come out and then trying it out and 
providing feedback, instead of doing it during the development cycle, 
there have been several beta releases for you to provide feedback on.



I'm not providing feedback on records, but Project Panama.




Gj

On Thu, Mar 5, 2020 at 4:50 PM Ty Young > wrote:



On 3/5/20 9:42 AM, Geertjan Wielenga wrote:

Probably you don't have JDK 14 set in the project.



It's set to JDK 15, the same as the boot JDK.




Anyway, impossible to help if you don't put a sample project with
the problem somewhere for someone to take a look at.



Actual project is here:


https://github.com/BlueGoliath/Crosspoint


requires Project Panama JDK build from the foreign-jextract branch
to build.




Gj

On Thu, Mar 5, 2020 at 4:40 PM Ty Young mailto:youngty1...@gmail.com>> wrote:


On 3/5/20 9:18 AM, Geertjan Wielenga wrote:

https://netbeans.apache.org/download/nb113/index.html

Read the above, thanks.



Going by naming  should do the same thing, but
it looks like it doesn't.


Oh well. Preview features are enabled now but records aren't
working. The java.lang.Record class is visible so records are
apart of the JDK, it's just I can't make one:


public record Foo(String x)
{

}


errors on record.




Gj

On Thu, Mar 5, 2020 at 4:12 PM Ty Young
mailto:youngty1...@gmail.com>> wrote:

Preview features in Netbeans 11.2(and above) aren't
being activated
despite being enabled in the maven build file:

org.apache.maven.plugins
maven-compiler-plugin
3.6.2
 
15 
--enable-preview
--add-modules
jdk.incubator.foreign
--open-modules
jdk.incubator.foreign.unsafe
 

Or at least there is no indication that it is and I
can't make a record.
Is there a way to tell if preview features are enabled?



-
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: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
Probably you don't have JDK 14 set in the project.

Anyway, impossible to help if you don't put a sample project with the
problem somewhere for someone to take a look at.

Gj

On Thu, Mar 5, 2020 at 4:40 PM Ty Young  wrote:

>
> On 3/5/20 9:18 AM, Geertjan Wielenga wrote:
>
> https://netbeans.apache.org/download/nb113/index.html
>
> Read the above, thanks.
>
>
> Going by naming  should do the same thing, but it looks like
> it doesn't.
>
>
> Oh well. Preview features are enabled now but records aren't working. The
> java.lang.Record class is visible so records are apart of the JDK, it's
> just I can't make one:
>
>
> public record Foo(String x)
> {
>
> }
>
>
> errors on record.
>
>
>
> Gj
>
> On Thu, Mar 5, 2020 at 4:12 PM Ty Young  wrote:
>
>> Preview features in Netbeans 11.2(and above) aren't being activated
>> despite being enabled in the maven build file:
>>
>> org.apache.maven.plugins
>> maven-compiler-plugin
>>  3.6.2
>>  
>>  15 
>> --enable-preview
>>  --add-modules
>> jdk.incubator.foreign
>>  --open-modules
>> jdk.incubator.foreign.unsafe
>>  
>>
>> Or at least there is no indication that it is and I can't make a record.
>> Is there a way to tell if preview features are enabled?
>>
>>
>> -
>> 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: Preview features not enabling

2020-03-05 Thread Ty Young


On 3/5/20 9:18 AM, Geertjan Wielenga wrote:

https://netbeans.apache.org/download/nb113/index.html

Read the above, thanks.



Going by naming  should do the same thing, but it looks 
like it doesn't.



Oh well. Preview features are enabled now but records aren't working. 
The java.lang.Record class is visible so records are apart of the JDK, 
it's just I can't make one:



public record Foo(String x)
{

}


errors on record.




Gj

On Thu, Mar 5, 2020 at 4:12 PM Ty Young > wrote:


Preview features in Netbeans 11.2(and above) aren't being activated
despite being enabled in the maven build file:

org.apache.maven.plugins
maven-compiler-plugin
 3.6.2
 
 15 
--enable-preview
 --add-modules
jdk.incubator.foreign
 --open-modules
jdk.incubator.foreign.unsafe
 

Or at least there is no indication that it is and I can't make a
record.
Is there a way to tell if preview features are enabled?


-
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: Preview features not enabling

2020-03-05 Thread Geertjan Wielenga
https://netbeans.apache.org/download/nb113/index.html

Read the above, thanks.

Gj

On Thu, Mar 5, 2020 at 4:12 PM Ty Young  wrote:

> Preview features in Netbeans 11.2(and above) aren't being activated
> despite being enabled in the maven build file:
>
> org.apache.maven.plugins
> maven-compiler-plugin
>  3.6.2
>  
>  15 
> --enable-preview
>  --add-modules
> jdk.incubator.foreign
>  --open-modules
> jdk.incubator.foreign.unsafe
>  
>
> Or at least there is no indication that it is and I can't make a record.
> Is there a way to tell if preview features are enabled?
>
>
> -
> 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
>
>


Preview features not enabling

2020-03-05 Thread Ty Young
Preview features in Netbeans 11.2(and above) aren't being activated 
despite being enabled in the maven build file:


org.apache.maven.plugins
maven-compiler-plugin
    3.6.2
    
    15 
--enable-preview
    --add-modules 
jdk.incubator.foreign
    --open-modules 
jdk.incubator.foreign.unsafe

    

Or at least there is no indication that it is and I can't make a record. 
Is there a way to tell if preview features are enabled?



-
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: FlatLaf properties also in Netbeans? And scalable vector icons

2020-03-05 Thread Eirik Bakke
> And another question, please. Since FlatLaf directly supports HiDPI, how to 
> use its feature "scalable vector icons" mentioned in its features list?

NetBeans fully supports HiDPI icons by now--but the old bitmap icons still need 
to be actually redrawn as SVG. See discussion here:

https://github.com/apache/netbeans/pull/1278
https://issues.apache.org/jira/browse/NETBEANS-2617
https://people.csail.mit.edu/ebakke/misc/netbeans-icons/prioritized.html
https://cwiki.apache.org/confluence/display/NETBEANS/HiDPI+%28Retina%29+improvements

On Windows, MacOS, and FlatLAF, the icons that are part of the window system 
itself ("X" to close tab etc.) have already been updated to look good on HiDPI 
screens. See https://github.com/apache/netbeans/pull/859 .

-- Eirik

-Original Message-
From: Hans Grimmelshausen  
Sent: Thursday, March 5, 2020 5:02 AM
To: Users@netbeans.apache.org
Subject: FlatLaf properties also in Netbeans? And scalable vector icons

Hello Netbeans users,

I better put these two questions in an own thread, in contrast to my e-mail 
reply in the other "FlatLaf tab height" thread:

Thanks to all Netbeans developers for the new and exciting version 11.3, and 
also to Karl for his very nice FlatLaf which looks and feels great.

Karl describes here: https://www.formdev.com/flatlaf/customizing/ how to 
customize the FlatLaf properties. For example in our own Java Swing application 
we can simply do:
    FlatLightLaf.install();
    UIManager.put( "ScrollBar.showButtons", true );
    …

How would we tell Netbeans to use such changed properties also in its own Look 
and Feel (menu Tools → Options → Appearance → "Look and Feel" set to "FlatLaf 
Light" or "FlatLaf Dark") ?

And another question, please. Since FlatLaf directly supports HiDPI, how to use 
its feature "scalable vector icons" mentioned in its features list? 
https://www.formdev.com/flatlaf/

Thanks!

Greetings,
Hans

-
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


-
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



Netbeans 11.3 and older gradle builds

2020-03-05 Thread Fred Welland
So +1 for NB 11.3.

This is the first NB using native gradle support where I think I can use
this as a daily driver for much of my work  (prior 11.3 the only working
combo for me was NB10 + gradle plugin).

That said,  I work on lots of gradle projects with gradles as old as 3.4.x
to as new as 6.2.2.  There are some constructs in older 3.x builds that
are simply not supported in gradle 6.x.

These projects will not really load at all in NB 11.3 (FWIW: nb10 + plugin
is ok with these).

I exclusively use 'wrapper that comes with project'.

I have played around Options->Java->Gradle->Execution->Gradle Distribution
and use Standard Version and Custom. Neither of those seem to affect
the loading of the project.I am guessing, since tooling API 6x is
burned into NB11.3; that is what is used during project load only -- and
thus will choke on earlier build files with some older constructs (no
longer part of gradle 6.x).

Any way to work around this?

-Fred


FlatLaf properties also in Netbeans? And scalable vector icons

2020-03-05 Thread Hans Grimmelshausen

Hello Netbeans users,

I better put these two questions in an own thread, in contrast to my e-mail 
reply in the other "FlatLaf tab height" thread:


Thanks to all Netbeans developers for the new and exciting version 11.3, and 
also to Karl for his very nice FlatLaf which looks and feels great.


Karl describes here: https://www.formdev.com/flatlaf/customizing/ how to 
customize the FlatLaf properties. For example in our own Java Swing 
application we can simply do:

   FlatLightLaf.install();
   UIManager.put( "ScrollBar.showButtons", true );
   …

How would we tell Netbeans to use such changed properties also in its own 
Look and Feel (menu Tools → Options → Appearance → "Look and Feel" set to 
"FlatLaf Light" or "FlatLaf Dark") ?


And another question, please. Since FlatLaf directly supports HiDPI, how to 
use its feature "scalable vector icons" mentioned in its features list? 
https://www.formdev.com/flatlaf/


Thanks!

Greetings,
Hans

-
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: FlatLaf tab height

2020-03-05 Thread Hans Grimmelshausen

Hello,

In the (unfortunately short) documentation of the the very nice FlatLaf, its 
author Karl describes here: https://www.formdev.com/flatlaf/customizing/
… how to customize the FlatLaf. Next to his few examples, he links to the 
long list of  properties: "More can be found in the properties files here."


In this link he links to his used FlatLaf properties files here:
https://github.com/JFormDesigner/FlatLaf/blob/master/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties

And the fewer child properties here:
https://github.com/JFormDesigner/FlatLaf/blob/master/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLightLaf.properties

In any case, what you search could be this, but I'm not sure:

# TabbedPane 
TabbedPane.tabHeight=32

And to change such settings is easy, as Karl shows in his above link. For 
example I like these settings:

   FlatLightLaf.install();
   UIManager.put("TabbedPane.hasFullBorder", true);
   UIManager.put("TabbedPane.tabSelectionHeight", 4);
   UIManager.put("TabbedPane.showTabSeparators", true);
   …


Question to FlatLaf experts: in our own program we can change these settings 
like shown above. But how would we tell Netbeans to use these changed 
properties, i.e. so that NB shows them, too?


And another question, please, since FlatLaf directly supports HiDPI: how to 
use FlatLaf's feature "scalable vector icons" ? Is this related to Netbeans' 
plug-in "SVG Loader: Service provider for ImageUtilities' SVGLoader interface ?


Greetings,
Hans



Am 04.03.20 um 23:47 schrieb Gregor Kovač:

Hi!

I've started using newly released 11.3 with FlatLaf UI, but height of the 
tabs is greater than I like them. Is there a way to alter the height of tabs?


Best regards,
    Kovi




-
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