Re: JavaFX Javadoc

2020-01-21 Thread Laszlo Kishalmi
There are a few issues reported on that one. It is mostly due to the 
strange packaging used for JavaFX due modular/non-modular Java 
compatibility AFAIK.


On 1/21/20 9:45 AM, Glenn Holmer wrote:

I've downloaded Javadoc for the FX dependencies in my project ("Download
Javadoc" from the context menu), but ctrl-space completion doesn't show
it. If you look at this screenshot, you can see that he's looking for it
in the platform-specific jar (javafx-fxml-13-linux.jar). If I select
"View Javadoc" from the context menu on javafx-fxml-13.jar, it does come
up in a browser.

Is there a way to make the Javadoc appear as expected?

screenshot: https://www.lyonlabs.org/temp/javafx-javadoc.png


-
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


Maven run properties bugs

2020-01-21 Thread Ty Young

Hi,


Whenever I go to "run" in my Maven project properties the command line 
arguments are all messed up[1]. Why is it doing this?



[1] https://imgur.com/a/pOdKIOR


-
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: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Carl Mosca
I thought I forwarded my reply (after sending to only Gj by mistake).  Here
it is (again) just in case.

It's been a long time since I used beansbinding but I believe last I did we
started using betterbeansbinding.


it.tidalwave.betterbeansbinding
betterbeansbinding
1.3.0


it.tidalwave.betterbeansbinding
betterbeansbinding-swingbinding
1.3.0


But I think Gj is right - rewrite if possible.

On Tue, Jan 21, 2020 at 9:14 AM Geertjan Wielenga 
wrote:

> I'd take a look but the repo doesn't seem to be there or public:
>
> https://github.com/apjanke/antlrworks2-jank
>
> Indeed, we had to remove beansbinding, if at all possible I'd consider
> rewriting the code (unless it's way too much) related to this to not rely
> on this.
>
> Great that you're working on this, it's a great and useful NetBeans
> Platform project to resurrect.
>
> Gj
>
> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  wrote:
>
>> Hi, Apache NetBeans folks,
>>
>> I'm trying to resurrect the ANTLRWorks 2 IDE project
>> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
>> Apache NetBeans 11.2. This codebase was previously running on NetBeans
>> 8.2.
>>
>> There are several references to classes in org.jdesktop.beansbinding in
>> this project. When I open it in NetBeans, I get errors saying this
>> package does not exist, and it can't find the classes. I downloaded a
>> beansbinding-1.2.1-jar (SHA256 sum
>> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
>> random site on the internet, added it to a New Library in my NetBeans
>> project, and added a dependency on that library in my ANTLRWorks Editor
>> project, which is the project that has these references in it. But
>> NetBeans is still saying it can't find the package.
>>
>> Anybody know what I can do to fix this?
>>
>> You can see the source, including the nbproject definition, at
>> https://github.com/apjanke/antlrworks2-jank, if that helps.
>>
>> Cheers,
>> Andrew Janke
>>
>> -
>> 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
>>
>>

-- 
Carl J. Mosca


Re: Fwd: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Andrew Janke
Thanks!

I think I'm getting close to a working Mavenized build.
https://github.com/apjanke/antlrworks2-jank/tree/maven-migration

I'm having trouble finding a couple NetBeans Platform classes on Maven:

org.netbeans.modules.options.editor.spi.PreferencesCustomizer
org.netbeans.modules.options.editor.spi.PreviewProvider

Anyone know where I might find those?

Cheers,
Andrew

On 1/21/20 11:46 AM, Carl Mosca wrote:
>
>
> -- Forwarded message -
> From: *Carl Mosca* mailto:carljmo...@gmail.com>>
> Date: Tue, Jan 21, 2020 at 9:21 AM
> Subject: Re: Package org.jdesktop.beansbinding does not exist
> To: Geertjan Wielenga mailto:geert...@apache.org>>
>
>
> It's been a long time since I used beansbinding but I believe last I
> did we started using betterbeansbinding.  
>
>         
>             it.tidalwave.betterbeansbinding
>             betterbeansbinding
>             1.3.0
>         
>         
>             it.tidalwave.betterbeansbinding
>             betterbeansbinding-swingbinding
>             1.3.0
>         
>
> But I think Gj is right - rewrite if possible.
>
> On Tue, Jan 21, 2020 at 9:14 AM Geertjan Wielenga  > wrote:
>
> I'd take a look but the repo doesn't seem to be there or public:
>
> https://github.com/apjanke/antlrworks2-jank
>
> Indeed, we had to remove beansbinding, if at all possible I'd
> consider rewriting the code (unless it's way too much) related to
> this to not rely on this.
>
> Great that you're working on this, it's a great and useful
> NetBeans Platform project to resurrect.
>
> Gj
>
> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  > wrote:
>
> Hi, Apache NetBeans folks,
>
> I'm trying to resurrect the ANTLRWorks 2 IDE project
> (https://github.com/tunnelvisionlabs/antlrworks2) and get it
> running on
> Apache NetBeans 11.2. This codebase was previously running on
> NetBeans 8.2.
>
> There are several references to classes in
> org.jdesktop.beansbinding in
> this project. When I open it in NetBeans, I get errors saying this
> package does not exist, and it can't find the classes. I
> downloaded a
> beansbinding-1.2.1-jar (SHA256 sum
> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59)
> from a
> random site on the internet, added it to a New Library in my
> NetBeans
> project, and added a dependency on that library in my
> ANTLRWorks Editor
> project, which is the project that has these references in it. But
> NetBeans is still saying it can't find the package.
>
> Anybody know what I can do to fix this?
>
> You can see the source, including the nbproject definition, at
> https://github.com/apjanke/antlrworks2-jank, if that helps.
>
> Cheers,
> Andrew Janke
>
> -
> 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
>
>
>
> -- 
> Carl J. Mosca
>
>
> -- 
> Carl J. Mosca



JavaFX Javadoc

2020-01-21 Thread Glenn Holmer
I've downloaded Javadoc for the FX dependencies in my project ("Download
Javadoc" from the context menu), but ctrl-space completion doesn't show
it. If you look at this screenshot, you can see that he's looking for it
in the platform-specific jar (javafx-fxml-13-linux.jar). If I select
"View Javadoc" from the context menu on javafx-fxml-13.jar, it does come
up in a browser.

Is there a way to make the Javadoc appear as expected?

screenshot: https://www.lyonlabs.org/temp/javafx-javadoc.png

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
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: can not find symbol error in Netbeans 11.2

2020-01-21 Thread Emilian Bold
You could start by removing your NetBeans cache too. It's in various places
depending on which OS you use.

But, from the looks of it it's not a NetBeans. Try compiling from the
command line with Maven and you will probably see the same error. Which
means the JARs might be pulled from elsewhere. Maybe they are in a lib/
folder of your JRE?

--emi


On Tue, Jan 21, 2020 at 5:47 PM Nelligan, Steven M 
wrote:

>
>
> I don’t know if this is a Maven, Netbeans, or Java problem….
>
> My .m2 folder was deleted, so I need to rebuild everything and import the
> necessary packages into the .m2 folder.
>
>
>
> I have several applications using org.springframework.utl…
>
>
>
> I get an error:
>
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project approvalsetupent: Compilation failure
>
> edu/uiuc/fs/approvalsetup/business/ApprovalSetupBean.java:[941,40] cannot
> find symbol
>
>   symbol:   method trimArrayElements(java.lang.String[])
>
>   location: class org.springframework.util.StringUtils
>
>
>
> -> [Help 1]
>
>
>
> To see the full stack trace of the errors, re-run Maven with the -e switch.
>
> Re-run Maven using the -X switch to enable full debug logging.
>
>
>
> For more information about the errors and possible solutions, please read
> the following articles:
>
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>
>
> Using Netbeans 11.2, Maven 3.6.2, java version 1.7.0_242 (yes, old version
> of Java, needed to support an old purchased package)
>
>
>
> Pom Contains (Spring version if 3.0.1 RELEASE):
>
> 
>
> org.springframework
>
> spring-core
>
> ${spring.version}
>
> provided
>
> 
>
>
>
> 
>
> org.springframework
>
> spring-orm
>
> ${spring.version}
>
> provided
>
> 
>
> 
>
> org.springframework
>
> spring-jdbc
>
> ${spring.version}
>
> provided
>
> 
>
> 
>
> org.springframework
>
> spring-context
>
> ${spring.version}
>
> provided
>
> 
>
> 
>
> org.springframework
>
> spring-web
>
> ${spring.version}
>
> provided
>
> 
>
>
>
> Looking at the .m2 folder, the classes are being pulled in.
>
>
>
> I used winzip to open the “spring-core-3.0.1-RELEASE.jar”
>
> Found class “StringUtils”
>
> De-compiled and found the method trimArrayElements(String)
>
> But I getting the red line unter trimArrayElements
>
> if (FSHelper.isValid(approvedStr)) {
>
> String[] approvedArray =
> StringUtils.commaDelimitedListToStringArray(approvedStr);
>
> approvedArray = StringUtils.trimArrayElements(approvedArray);
>
>
> ~~
>
> //approvedArray = trimArrayElements(approvedArray);
>
> for (String approvedRule : approvedArray) {
>
> String[] split = approvedRule.split("::");
>
> approvalGroup = split[0];
>
>
>
> Also, getting other errors in another project
>
>
>
> method
> org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String,java.lang.Object[])
> is not applicable
>
>   (actual argument java.lang.String cannot be converted to
> java.lang.Object[] by method invocation conversion)
>
> method
> org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String,java.lang.Object[],int[])
> is not applicable
>
>   (actual and formal argument lists differ in length)
>
> method
> org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String) is
> not applicable
>
>   (actual and formal argument lists differ in length)
>
> [INFO] 2 errors
>
>
>
> All of these are using org.springframework…..
>
>
>
> Does anyone have any idea on where to go from here???
>
>
>
>
>
> Thanks for any help in advance,
>
> *Steven M Nelligan*
> *APPLICATION DEVELOPER*
>
>
> Facilities and Services
>
> Information Technology Services
> University of Illinois at Urbana-Champaign
> Facilities and Services
> 1501 S. Oak Street | M/C 800
> Champaign, IL 61820
> 217.244.8097 | *other*: 217.244.8097 | snell...@illinois.edu
> www.fs.illinois.edu
>
> [image: facebook]
> [image:
> twitter] [image: instagram]
> [image: youtube]
> 
>
> [image: https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]
> 
>
> *Under the Illinois Freedom of Information Act any written communication
> to or from university employees regarding university business is a public
> record and may be subject to public disclosure.*
>
>
>
>
>


Re: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Emilian Bold
Beansbinding is used:

* at runtime. You can also add the beansbinding library as a direct
JAR dependency.
* when editing the forms. Can be re-added with this module
https://github.com/emilianbold/nb-apache-form-binding

Depends how complex your beandbinding code is. If you have something
simple you could just remove the code and do some manual listeners and
thus get rid of it.

Of course, the idea behind beansbinding is quite good and it's sad not
to use it otherwise.

--emi

On Tue, Jan 21, 2020 at 3:47 PM Andrew Janke  wrote:
>
> Hi, Apache NetBeans folks,
>
> I'm trying to resurrect the ANTLRWorks 2 IDE project
> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
> Apache NetBeans 11.2. This codebase was previously running on NetBeans 8.2.
>
> There are several references to classes in org.jdesktop.beansbinding in
> this project. When I open it in NetBeans, I get errors saying this
> package does not exist, and it can't find the classes. I downloaded a
> beansbinding-1.2.1-jar (SHA256 sum
> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
> random site on the internet, added it to a New Library in my NetBeans
> project, and added a dependency on that library in my ANTLRWorks Editor
> project, which is the project that has these references in it. But
> NetBeans is still saying it can't find the package.
>
> Anybody know what I can do to fix this?
>
> You can see the source, including the nbproject definition, at
> https://github.com/apjanke/antlrworks2-jank, if that helps.
>
> Cheers,
> Andrew Janke
>
> -
> 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



Fwd: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Carl Mosca
-- Forwarded message -
From: Carl Mosca 
Date: Tue, Jan 21, 2020 at 9:21 AM
Subject: Re: Package org.jdesktop.beansbinding does not exist
To: Geertjan Wielenga 


It's been a long time since I used beansbinding but I believe last I did we
started using betterbeansbinding.


it.tidalwave.betterbeansbinding
betterbeansbinding
1.3.0


it.tidalwave.betterbeansbinding
betterbeansbinding-swingbinding
1.3.0


But I think Gj is right - rewrite if possible.

On Tue, Jan 21, 2020 at 9:14 AM Geertjan Wielenga 
wrote:

> I'd take a look but the repo doesn't seem to be there or public:
>
> https://github.com/apjanke/antlrworks2-jank
>
> Indeed, we had to remove beansbinding, if at all possible I'd consider
> rewriting the code (unless it's way too much) related to this to not rely
> on this.
>
> Great that you're working on this, it's a great and useful NetBeans
> Platform project to resurrect.
>
> Gj
>
> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  wrote:
>
>> Hi, Apache NetBeans folks,
>>
>> I'm trying to resurrect the ANTLRWorks 2 IDE project
>> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
>> Apache NetBeans 11.2. This codebase was previously running on NetBeans
>> 8.2.
>>
>> There are several references to classes in org.jdesktop.beansbinding in
>> this project. When I open it in NetBeans, I get errors saying this
>> package does not exist, and it can't find the classes. I downloaded a
>> beansbinding-1.2.1-jar (SHA256 sum
>> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
>> random site on the internet, added it to a New Library in my NetBeans
>> project, and added a dependency on that library in my ANTLRWorks Editor
>> project, which is the project that has these references in it. But
>> NetBeans is still saying it can't find the package.
>>
>> Anybody know what I can do to fix this?
>>
>> You can see the source, including the nbproject definition, at
>> https://github.com/apjanke/antlrworks2-jank, if that helps.
>>
>> Cheers,
>> Andrew Janke
>>
>> -
>> 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
>>
>>

-- 
Carl J. Mosca


-- 
Carl J. Mosca


Re: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Carl Mosca
Sorry, I did not do a "reply all" - forwarded.

On Tue, Jan 21, 2020 at 11:38 AM Andrew Janke  wrote:

> That sounds like a good idea. I've started the process to do so.
>
> What do you mean by "Carl's co-ordinates above"? Did I miss an email?
>
> And do you know what Maven coordinates I might use to get the following
> classes:
>
> org.netbeans.editor.Utilities
> org.netbeans.editor.ext.ExtKit
> org.netbeans.modules.editor.MainMenuAction
>
> org.netbeans.modules.editor.NbEditorUtilities
>
>
> Googling isn't much help; I found
> org.netbeans.api:org-netbeans-modules-editor-util, but that didn't seem to
> fix it.
>
> Cheers,
> Andrew
>
> On 1/21/20 10:17 AM, Geertjan Wielenga wrote:
>
> While you're at it, you may as well try to move the project to Maven and
> then Carl's co-ordinates above can be used.
>
> Gj
>
> On Tue, Jan 21, 2020 at 3:30 PM Andrew Janke  wrote:
>
>> Oops! I've made the repo public.
>>
>> I'm up for rewriting the code. I'd like to get rid of the dependency on
>> an obsolete library. I don't suppose there's a migration guide for this? I
>> don't know org.jdesktop.beansbinding well enough to know what to replace it
>> with.
>>
>> Glad to hear I might have some users if I get this up and running!
>>
>> Cheers,
>> Andrew
>>
>> On 1/21/20 9:14 AM, Geertjan Wielenga wrote:
>>
>> I'd take a look but the repo doesn't seem to be there or public:
>>
>> https://github.com/apjanke/antlrworks2-jank
>>
>> Indeed, we had to remove beansbinding, if at all possible I'd consider
>> rewriting the code (unless it's way too much) related to this to not rely
>> on this.
>>
>> Great that you're working on this, it's a great and useful NetBeans
>> Platform project to resurrect.
>>
>> Gj
>>
>> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  wrote:
>>
>>> Hi, Apache NetBeans folks,
>>>
>>> I'm trying to resurrect the ANTLRWorks 2 IDE project
>>> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
>>> Apache NetBeans 11.2. This codebase was previously running on NetBeans
>>> 8.2.
>>>
>>> There are several references to classes in org.jdesktop.beansbinding in
>>> this project. When I open it in NetBeans, I get errors saying this
>>> package does not exist, and it can't find the classes. I downloaded a
>>> beansbinding-1.2.1-jar (SHA256 sum
>>> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
>>> random site on the internet, added it to a New Library in my NetBeans
>>> project, and added a dependency on that library in my ANTLRWorks Editor
>>> project, which is the project that has these references in it. But
>>> NetBeans is still saying it can't find the package.
>>>
>>> Anybody know what I can do to fix this?
>>>
>>> You can see the source, including the nbproject definition, at
>>> https://github.com/apjanke/antlrworks2-jank, if that helps.
>>>
>>> Cheers,
>>> Andrew Janke
>>>
>>> -
>>> 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
>>>
>>>
>>
>

-- 
Carl J. Mosca


Re: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Andrew Janke
That sounds like a good idea. I've started the process to do so.

What do you mean by "Carl's co-ordinates above"? Did I miss an email?

And do you know what Maven coordinates I might use to get the following
classes:

org.netbeans.editor.Utilities
org.netbeans.editor.ext.ExtKit
org.netbeans.modules.editor.MainMenuAction

org.netbeans.modules.editor.NbEditorUtilities


Googling isn't much help; I found
org.netbeans.api:org-netbeans-modules-editor-util, but that didn't seem
to fix it.

Cheers,
Andrew

On 1/21/20 10:17 AM, Geertjan Wielenga wrote:
> While you're at it, you may as well try to move the project to Maven
> and then Carl's co-ordinates above can be used.
>
> Gj
>
> On Tue, Jan 21, 2020 at 3:30 PM Andrew Janke  > wrote:
>
> Oops! I've made the repo public.
>
> I'm up for rewriting the code. I'd like to get rid of the
> dependency on an obsolete library. I don't suppose there's a
> migration guide for this? I don't know org.jdesktop.beansbinding
> well enough to know what to replace it with.
>
> Glad to hear I might have some users if I get this up and running!
>
> Cheers,
> Andrew
>
> On 1/21/20 9:14 AM, Geertjan Wielenga wrote:
>> I'd take a look but the repo doesn't seem to be there or public:
>>
>> https://github.com/apjanke/antlrworks2-jank
>>
>> Indeed, we had to remove beansbinding, if at all possible I'd
>> consider rewriting the code (unless it's way too much) related to
>> this to not rely on this.
>>
>> Great that you're working on this, it's a great and useful
>> NetBeans Platform project to resurrect.
>>
>> Gj
>>
>> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke > > wrote:
>>
>> Hi, Apache NetBeans folks,
>>
>> I'm trying to resurrect the ANTLRWorks 2 IDE project
>> (https://github.com/tunnelvisionlabs/antlrworks2) and get it
>> running on
>> Apache NetBeans 11.2. This codebase was previously running on
>> NetBeans 8.2.
>>
>> There are several references to classes in
>> org.jdesktop.beansbinding in
>> this project. When I open it in NetBeans, I get errors saying
>> this
>> package does not exist, and it can't find the classes. I
>> downloaded a
>> beansbinding-1.2.1-jar (SHA256 sum
>> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59)
>> from a
>> random site on the internet, added it to a New Library in my
>> NetBeans
>> project, and added a dependency on that library in my
>> ANTLRWorks Editor
>> project, which is the project that has these references in
>> it. But
>> NetBeans is still saying it can't find the package.
>>
>> Anybody know what I can do to fix this?
>>
>> You can see the source, including the nbproject definition, at
>> https://github.com/apjanke/antlrworks2-jank, if that helps.
>>
>> Cheers,
>> Andrew Janke
>>
>> -
>> 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
>>
>



can not find symbol error in Netbeans 11.2

2020-01-21 Thread Nelligan, Steven M

I don’t know if this is a Maven, Netbeans, or Java problem….
My .m2 folder was deleted, so I need to rebuild everything and import the 
necessary packages into the .m2 folder.

I have several applications using org.springframework.utl…

I get an error:
Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project approvalsetupent: Compilation failure
edu/uiuc/fs/approvalsetup/business/ApprovalSetupBean.java:[941,40] cannot find 
symbol
  symbol:   method trimArrayElements(java.lang.String[])
  location: class org.springframework.util.StringUtils

-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the 
following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Using Netbeans 11.2, Maven 3.6.2, java version 1.7.0_242 (yes, old version of 
Java, needed to support an old purchased package)

Pom Contains (Spring version if 3.0.1 RELEASE):

org.springframework
spring-core
${spring.version}
provided



org.springframework
spring-orm
${spring.version}
provided


org.springframework
spring-jdbc
${spring.version}
provided


org.springframework
spring-context
${spring.version}
provided


org.springframework
spring-web
${spring.version}
provided


Looking at the .m2 folder, the classes are being pulled in.

I used winzip to open the “spring-core-3.0.1-RELEASE.jar”
Found class “StringUtils”
De-compiled and found the method trimArrayElements(String)
But I getting the red line unter trimArrayElements
if (FSHelper.isValid(approvedStr)) {
String[] approvedArray = 
StringUtils.commaDelimitedListToStringArray(approvedStr);
approvedArray = StringUtils.trimArrayElements(approvedArray);
 ~~
//approvedArray = trimArrayElements(approvedArray);
for (String approvedRule : approvedArray) {
String[] split = approvedRule.split("::");
approvalGroup = split[0];

Also, getting other errors in another project

method 
org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String,java.lang.Object[])
 is not applicable
  (actual argument java.lang.String cannot be converted to 
java.lang.Object[] by method invocation conversion)
method 
org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String,java.lang.Object[],int[])
 is not applicable
  (actual and formal argument lists differ in length)
method 
org.springframework.jdbc.core.JdbcTemplate.queryForInt(java.lang.String) is not 
applicable
  (actual and formal argument lists differ in length)
[INFO] 2 errors

All of these are using org.springframework…..

Does anyone have any idea on where to go from here???


Thanks for any help in advance,
Steven M Nelligan
APPLICATION DEVELOPER

Facilities and Services
Information Technology Services
University of Illinois at Urbana-Champaign
Facilities and Services
1501 S. Oak Street | M/C 800
Champaign, IL 61820
217.244.8097 | other: 217.244.8097 | 
snell...@illinois.edu
www.fs.illinois.edu

[facebook]
[twitter]  [instagram] 
 [youtube] 


[https://webtools.illinois.edu/webservices/js/ds/signature_logo.png]

Under the Illinois Freedom of Information Act any written communication to or 
from university employees regarding university business is a public record and 
may be subject to public disclosure.




Re: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Geertjan Wielenga
While you're at it, you may as well try to move the project to Maven and
then Carl's co-ordinates above can be used.

Gj

On Tue, Jan 21, 2020 at 3:30 PM Andrew Janke  wrote:

> Oops! I've made the repo public.
>
> I'm up for rewriting the code. I'd like to get rid of the dependency on an
> obsolete library. I don't suppose there's a migration guide for this? I
> don't know org.jdesktop.beansbinding well enough to know what to replace it
> with.
>
> Glad to hear I might have some users if I get this up and running!
>
> Cheers,
> Andrew
>
> On 1/21/20 9:14 AM, Geertjan Wielenga wrote:
>
> I'd take a look but the repo doesn't seem to be there or public:
>
> https://github.com/apjanke/antlrworks2-jank
>
> Indeed, we had to remove beansbinding, if at all possible I'd consider
> rewriting the code (unless it's way too much) related to this to not rely
> on this.
>
> Great that you're working on this, it's a great and useful NetBeans
> Platform project to resurrect.
>
> Gj
>
> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  wrote:
>
>> Hi, Apache NetBeans folks,
>>
>> I'm trying to resurrect the ANTLRWorks 2 IDE project
>> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
>> Apache NetBeans 11.2. This codebase was previously running on NetBeans
>> 8.2.
>>
>> There are several references to classes in org.jdesktop.beansbinding in
>> this project. When I open it in NetBeans, I get errors saying this
>> package does not exist, and it can't find the classes. I downloaded a
>> beansbinding-1.2.1-jar (SHA256 sum
>> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
>> random site on the internet, added it to a New Library in my NetBeans
>> project, and added a dependency on that library in my ANTLRWorks Editor
>> project, which is the project that has these references in it. But
>> NetBeans is still saying it can't find the package.
>>
>> Anybody know what I can do to fix this?
>>
>> You can see the source, including the nbproject definition, at
>> https://github.com/apjanke/antlrworks2-jank, if that helps.
>>
>> Cheers,
>> Andrew Janke
>>
>> -
>> 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: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Andrew Janke
Oops! I've made the repo public.

I'm up for rewriting the code. I'd like to get rid of the dependency on
an obsolete library. I don't suppose there's a migration guide for this?
I don't know org.jdesktop.beansbinding well enough to know what to
replace it with.

Glad to hear I might have some users if I get this up and running!

Cheers,
Andrew

On 1/21/20 9:14 AM, Geertjan Wielenga wrote:
> I'd take a look but the repo doesn't seem to be there or public:
>
> https://github.com/apjanke/antlrworks2-jank
>
> Indeed, we had to remove beansbinding, if at all possible I'd consider
> rewriting the code (unless it's way too much) related to this to not
> rely on this.
>
> Great that you're working on this, it's a great and useful NetBeans
> Platform project to resurrect.
>
> Gj
>
> On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  > wrote:
>
> Hi, Apache NetBeans folks,
>
> I'm trying to resurrect the ANTLRWorks 2 IDE project
> (https://github.com/tunnelvisionlabs/antlrworks2) and get it
> running on
> Apache NetBeans 11.2. This codebase was previously running on
> NetBeans 8.2.
>
> There are several references to classes in
> org.jdesktop.beansbinding in
> this project. When I open it in NetBeans, I get errors saying this
> package does not exist, and it can't find the classes. I downloaded a
> beansbinding-1.2.1-jar (SHA256 sum
> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59)
> from a
> random site on the internet, added it to a New Library in my NetBeans
> project, and added a dependency on that library in my ANTLRWorks
> Editor
> project, which is the project that has these references in it. But
> NetBeans is still saying it can't find the package.
>
> Anybody know what I can do to fix this?
>
> You can see the source, including the nbproject definition, at
> https://github.com/apjanke/antlrworks2-jank, if that helps.
>
> Cheers,
> Andrew Janke
>
> -
> 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: Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Geertjan Wielenga
I'd take a look but the repo doesn't seem to be there or public:

https://github.com/apjanke/antlrworks2-jank

Indeed, we had to remove beansbinding, if at all possible I'd consider
rewriting the code (unless it's way too much) related to this to not rely
on this.

Great that you're working on this, it's a great and useful NetBeans
Platform project to resurrect.

Gj

On Tue, Jan 21, 2020 at 2:47 PM Andrew Janke  wrote:

> Hi, Apache NetBeans folks,
>
> I'm trying to resurrect the ANTLRWorks 2 IDE project
> (https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
> Apache NetBeans 11.2. This codebase was previously running on NetBeans 8.2.
>
> There are several references to classes in org.jdesktop.beansbinding in
> this project. When I open it in NetBeans, I get errors saying this
> package does not exist, and it can't find the classes. I downloaded a
> beansbinding-1.2.1-jar (SHA256 sum
> eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
> random site on the internet, added it to a New Library in my NetBeans
> project, and added a dependency on that library in my ANTLRWorks Editor
> project, which is the project that has these references in it. But
> NetBeans is still saying it can't find the package.
>
> Anybody know what I can do to fix this?
>
> You can see the source, including the nbproject definition, at
> https://github.com/apjanke/antlrworks2-jank, if that helps.
>
> Cheers,
> Andrew Janke
>
> -
> 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
>
>


Package org.jdesktop.beansbinding does not exist

2020-01-21 Thread Andrew Janke
Hi, Apache NetBeans folks,

I'm trying to resurrect the ANTLRWorks 2 IDE project
(https://github.com/tunnelvisionlabs/antlrworks2) and get it running on
Apache NetBeans 11.2. This codebase was previously running on NetBeans 8.2.

There are several references to classes in org.jdesktop.beansbinding in
this project. When I open it in NetBeans, I get errors saying this
package does not exist, and it can't find the classes. I downloaded a
beansbinding-1.2.1-jar (SHA256 sum
eb8a4f4648b95939214960a572f8aadd71af4dd38b06017ee4f8f37d0c4b5e59) from a
random site on the internet, added it to a New Library in my NetBeans
project, and added a dependency on that library in my ANTLRWorks Editor
project, which is the project that has these references in it. But
NetBeans is still saying it can't find the package.

Anybody know what I can do to fix this?

You can see the source, including the nbproject definition, at
https://github.com/apjanke/antlrworks2-jank, if that helps.

Cheers,
Andrew Janke

-
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 system wide Font Size

2020-01-21 Thread zahid

Hi,

How can I increase the system wide font size , not just editor font size.


zahid

Backbutton.co.uk
¯\_(ツ)_/¯
♡۶Java♡۶RMI ♡۶
Make Use Method {MUM}
makeuse.org


-
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