Re: Only one RaspberryPi project.

2021-01-18 Thread Zahid Rahman
I came across this problem many years ago.
It was mentioned in my computing course text book
called Object Orientated Programming using C++ by Grady Booch.
He said "Industrial Strength Software is beyond the intellect of a
developer"
hence you can create only one project  which is adequate for a student
project or a HOW-TO Video
but will not do for commercial use.


https://www.backbutton.co.uk/ 
HOW-TO become  System Architect for FREE


¯\_(ツ)_/¯
♡۶♡ ۶♡۶


On Tue, 19 Jan 2021 at 07:17, Som Lima  wrote:

> If you follow the instructions in this video
> you will be able to create one project HelloPi.
>
> https://youtu.be/ebHbDlTnV-I
>
> However you will not be able to create a second project to develop
> Raspberry Pi in the same Netbeans IDE.
>
> You can replicate the highlighted issue by following the steps in the
> video to create a second project i.e. named   ByePi to run to completion.
>
> I am running a  wireless WIFI headless raspberry pi.
>
> Thanks.
>
>
>
>
>
>


Only one RaspberryPi project.

2021-01-18 Thread Som Lima
If you follow the instructions in this video
you will be able to create one project HelloPi.

https://youtu.be/ebHbDlTnV-I

However you will not be able to create a second project to develop
Raspberry Pi in the same Netbeans IDE.

You can replicate the highlighted issue by following the steps in the video
to create a second project i.e. named   ByePi to run to completion.

I am running a  wireless WIFI headless raspberry pi.

Thanks.


Re: support in the absence of community help

2021-01-18 Thread Laszlo Kishalmi
Again a letter expressing frustration. That's Ok. We've read that, and 
now we're aware of that.



Probably if you put information as well, then we could help. "a question 
here and on stack overflow" is not referable. As far as I've checked 
you've got a reply on all of your questions here.



On 1/18/21 4:18 AM, Christopher C. Lanz wrote:

Hello,

I have asked a question here and on stack overflow. No answers were 
forthcoming. In such a situation, are users simply hung out to dry, or 
is there any option for support from Apache-Netbeans, or any other 
NetBeans-savvy source?


I would happily pay for it, but I would rather not pay the $1,200 that 
their business support plan requires, for one question.


Chris Lanz

Department of Computer Science

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547






Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread André Pfeiffer
Yeah, I have an old swing system I did many years ago and it was built the
old way... But I'm traveling and away from my computer so I can't help till
next week.

Best regards,

Pfeiffer

Em segunda-feira, 18 de janeiro de 2021, Michel Giroux <
michel.gir...@gmail.com> escreveu:

>
> I hope it may help.
>
> I have the source of an old swing project using jxI.jar.
> Opening it in NB12, jxl.jar was not found.
> I take a copy of jxl.jar and put it in the folder project (not the source).
>
> In Librairies - Properties, I removed jxl.jar and consequently the older
> link to it.
> Using  Add JAR/Folder..., I selected the new location of jxl.jar (creating
> a new link)
>
> The project now finds the jxl file.
>
> All compiling errors are for Swing missing, not for jxl.
>
>
>
> Michel Giroux
>
>
> Le lun. 18 janv. 2021 à 09:50, Carl Mosca  a écrit :
>
>> Chris,
>>
>> Yes, please do let us know if you're using ant or maven if you're still
>> stuck after checking out David's suggestions.  Personally, I would
>> recommend maven (or gradle).
>>
>> Also, as Gj referenced, if you've got a sample project in Github,
>> bitbucket, or somewhere that we can take a look, more specific help might
>> be offered.
>>
>> I created a project here https://github.com/carljmosca/jxl-demo with the
>> library (using the included demo code) but it seems a bit dated.  I don't
>> do much with Office docs/spreadsheets
>>  these days but I think the one that David recommended is current.
>>
>> After building it in NetBean, I ran it from the command line like this: java
>> -jar target/jxl-demo-1.0.jar -ps somefile.xls
>>
>> HTH,
>> Carl
>>
>> On Mon, Jan 18, 2021 at 8:54 AM David Gradwell 
>> wrote:
>>
>>> Chris ,
>>>
>>>
>>>
>>> If your project is a Maven project, look at https://mvnrepository.com/
>>> artifact/net.sourceforge.jexcelapi/jxl/2.6 (or better still follow the
>>> latest version link).
>>>
>>>
>>>
>>> If your project is an Ant project then find the jar and include it in
>>> the project libraries.  For example, https://www.findjar.com/jar/
>>> net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar.html also
>>>
>>>
>>>
>>> There is another Java to Excel api see https://poi.apache.org/
>>> components/spreadsheet/ that I have used successfully.
>>>
>>>
>>>
>>> DG
>>>
>>>
>>>
>>> *From: *Geertjan Wielenga 
>>> *Date: *Monday, 18 January 2021 at 12:52
>>> *To: *"Christopher C. Lanz" 
>>> *Cc: *"users@netbeans.apache.org" 
>>> *Subject: *Re: using JExcel with Netbeans 12 running over Ubuntu 14.04
>>>
>>>
>>>
>>> For example, I'd love to help, but I have no idea what "jxl library" is,
>>> where to find it, etc, I have no idea what kind of project you're talking
>>> about -- Ant-based? Maven-based? Gradle-based? I.e., you either need to
>>> provide a project on GitHub so someone can look at it or complete
>>> instructions so someone can help you.
>>>
>>>
>>>
>>> If no one helps, it means that you haven't provided the info needed for
>>> someone to help you.
>>>
>>>
>>>
>>> Gj
>>>
>>>
>>>
>>> On Mon, Jan 18, 2021 at 1:46 PM Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com> wrote:
>>>
>>> You'll get help when you provide step by step instructions or, even
>>> better, a sample project on GitHub.
>>>
>>>
>>>
>>> Gj
>>>
>>>
>>>
>>> On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz
>>>  wrote:
>>>
>>> Hello,
>>>
>>>
>>>
>>> One of our fellow correspondents has suggested that I repeat this
>>> question. I am following their advice. Please forgive me.
>>>
>>>
>>>
>>> I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I
>>> have followed the directions available online:
>>>
>>>- adding the jxl-2.6.jar file to the classpath
>>>- placing the jxl-2.6.jar file in the same directory as the source
>>>- placing it in a new folder called "+libs"
>>>- adding a new library containing it
>>>- importing the classes
>>>
>>> and yet NetBeans is still unable to find the classes in the library,
>>> saying "the jxl package does not exist". I haven't found any instructions
>>> specifically for Netbeans 12 on linux - please let me know if they exist.
>>> It is likely that I'm missing some step in the process, so please mention *
>>> all* the necessary steps after download/extract the zipped .jar file.
>>>
>>>
>>>
>>>
>>>
>>> Chris Lanz
>>>
>>> Department of Computer Science
>>>
>>> 340 Dunn Hall, SUNY Potsdam
>>>
>>> lan...@potsdam.edu
>>>
>>> 315 268 1547
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Carl J. Mosca
>>
>


Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread Michel Giroux
I hope it may help.

I have the source of an old swing project using jxI.jar.
Opening it in NB12, jxl.jar was not found.
I take a copy of jxl.jar and put it in the folder project (not the source).

In Librairies - Properties, I removed jxl.jar and consequently the older
link to it.
Using  Add JAR/Folder..., I selected the new location of jxl.jar (creating
a new link)

The project now finds the jxl file.

All compiling errors are for Swing missing, not for jxl.



Michel Giroux


Le lun. 18 janv. 2021 à 09:50, Carl Mosca  a écrit :

> Chris,
>
> Yes, please do let us know if you're using ant or maven if you're still
> stuck after checking out David's suggestions.  Personally, I would
> recommend maven (or gradle).
>
> Also, as Gj referenced, if you've got a sample project in Github,
> bitbucket, or somewhere that we can take a look, more specific help might
> be offered.
>
> I created a project here https://github.com/carljmosca/jxl-demo with the
> library (using the included demo code) but it seems a bit dated.  I don't
> do much with Office docs/spreadsheets
>  these days but I think the one that David recommended is current.
>
> After building it in NetBean, I ran it from the command line like this: java
> -jar target/jxl-demo-1.0.jar -ps somefile.xls
>
> HTH,
> Carl
>
> On Mon, Jan 18, 2021 at 8:54 AM David Gradwell  wrote:
>
>> Chris ,
>>
>>
>>
>> If your project is a Maven project, look at
>> https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6 (or
>> better still follow the latest version link).
>>
>>
>>
>> If your project is an Ant project then find the jar and include it in the
>> project libraries.  For example,
>> https://www.findjar.com/jar/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar.html
>> also
>>
>>
>>
>> There is another Java to Excel api see
>> https://poi.apache.org/components/spreadsheet/ that I have used
>> successfully.
>>
>>
>>
>> DG
>>
>>
>>
>> *From: *Geertjan Wielenga 
>> *Date: *Monday, 18 January 2021 at 12:52
>> *To: *"Christopher C. Lanz" 
>> *Cc: *"users@netbeans.apache.org" 
>> *Subject: *Re: using JExcel with Netbeans 12 running over Ubuntu 14.04
>>
>>
>>
>> For example, I'd love to help, but I have no idea what "jxl library" is,
>> where to find it, etc, I have no idea what kind of project you're talking
>> about -- Ant-based? Maven-based? Gradle-based? I.e., you either need to
>> provide a project on GitHub so someone can look at it or complete
>> instructions so someone can help you.
>>
>>
>>
>> If no one helps, it means that you haven't provided the info needed for
>> someone to help you.
>>
>>
>>
>> Gj
>>
>>
>>
>> On Mon, Jan 18, 2021 at 1:46 PM Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>>
>> You'll get help when you provide step by step instructions or, even
>> better, a sample project on GitHub.
>>
>>
>>
>> Gj
>>
>>
>>
>> On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz
>>  wrote:
>>
>> Hello,
>>
>>
>>
>> One of our fellow correspondents has suggested that I repeat this
>> question. I am following their advice. Please forgive me.
>>
>>
>>
>> I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I
>> have followed the directions available online:
>>
>>- adding the jxl-2.6.jar file to the classpath
>>- placing the jxl-2.6.jar file in the same directory as the source
>>- placing it in a new folder called "+libs"
>>- adding a new library containing it
>>- importing the classes
>>
>> and yet NetBeans is still unable to find the classes in the library,
>> saying "the jxl package does not exist". I haven't found any instructions
>> specifically for Netbeans 12 on linux - please let me know if they exist.
>> It is likely that I'm missing some step in the process, so please mention *
>> all* the necessary steps after download/extract the zipped .jar file.
>>
>>
>>
>>
>>
>> Chris Lanz
>>
>> Department of Computer Science
>>
>> 340 Dunn Hall, SUNY Potsdam
>>
>> lan...@potsdam.edu
>>
>> 315 268 1547
>>
>>
>>
>>
>>
>>
>>
>>
>
> --
> Carl J. Mosca
>


Re: Maven Web App deployment

2021-01-18 Thread Dragan Bjedov
My problem is the same as described in the issue.

пон, 18. јан 2021. у 18:47 Vlad Palnik  је написао/ла:

> Known issue in 12.2
>
> see: https://issues.apache.org/jira/browse/NETBEANS-5143
>
> This email and any attachments may contain confidential and privileged
> information. If you are not the intended recipient, please notify the
> sender immediately by return email, delete this email and destroy any
> copies. Any dissemination or use of this information by a person other than
> the intended recipient is unauthorized.
>
>
> On Mon, Jan 18, 2021 at 8:55 AM Luff,Chris 
> wrote:
>
>> Without seeing anything, it would seem that you have bound the plugin to
>> multiple phases. Can you share the relevant pom.xml excerpts. I was running
>> the tomcat plugin just yesterday and did not see this problem.
>>
>> On 16 Jan 2021, at 18:13, Dragan Bjedov  wrote:
>>
>> Hello,
>>
>> I have an issue with the Maven web app.
>> When I hit run, it gets deployed two times.
>> The Page opened on the first deployment has an error message, but the
>> page opened on the second deployment works fine.
>>
>> This is output log:
>>
>>> Deploying on Apache Tomcat or TomEE
>>> profile mode: false
>>> debug mode: false
>>> force redeploy: true
>>> Undeploying ...
>>> undeploy?path=/spring-security-demo
>>> OK - Undeployed application at context path [/spring-security-demo]
>>> In-place deployment at
>>> /home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
>>> Deployment is in progress...
>>>
>>> deploy?config=file%3A%2Ftmp%2Fcontext4118861961478191874.xml=/spring-security-demo
>>> OK - Deployed application at context path [/spring-security-demo]
>>> Start is in progress...
>>> start?path=/spring-security-demo
>>> OK - Started application at context path [/spring-security-demo]
>>> Deploying on Apache Tomcat or TomEE
>>> profile mode: false
>>> debug mode: false
>>> force redeploy: true
>>> Undeploying ...
>>> undeploy?path=/spring-security-demo
>>> OK - Undeployed application at context path [/spring-security-demo]
>>> In-place deployment at
>>> /home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
>>>
>>> deploy?config=file%3A%2Ftmp%2Fcontext9162120569393006448.xml=/spring-security-demo
>>> OK - Deployed application at context path [/spring-security-demo]
>>> Start is in progress...
>>> start?path=/spring-security-demo
>>> OK - Started application at context path [/spring-security-demo]
>>
>> *Note: *There are no errors in server logs.
>>
>> *My setup is:*
>> NetBeans 12.2
>> Apache Tomcat 9.0.41
>> Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 (Zulu JDK 15)
>> OS: Ubuntu 20.04
>>
>> What is the problem here?
>>
>> Kind regards,
>>
>> Dragan Bjedov, MSc
>>
>>
>>
>>
>> CONFIDENTIALITY NOTICE This message and any included attachments are from
>> Cerner Corporation and are intended only for the addressee. The information
>> contained in this message is confidential and may constitute inside or
>> non-public information under international, federal, or state securities
>> laws. Unauthorized forwarding, printing, copying, distribution, or use of
>> such information is strictly prohibited and may be unlawful. If you are not
>> the addressee, please promptly delete this message and notify the sender of
>> the delivery error by e-mail or you may call Cerner's corporate offices in
>> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited,
>> Registered in England no 2519305, Registered Office 37 North Wharf Road,
>> London W2 1AF.
>>
>

-- 

MSc Dragan Bjedov


Re: Maven Web App deployment

2021-01-18 Thread Vlad Palnik
Known issue in 12.2

see: https://issues.apache.org/jira/browse/NETBEANS-5143

This email and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return email, delete this email and destroy any
copies. Any dissemination or use of this information by a person other than
the intended recipient is unauthorized.


On Mon, Jan 18, 2021 at 8:55 AM Luff,Chris 
wrote:

> Without seeing anything, it would seem that you have bound the plugin to
> multiple phases. Can you share the relevant pom.xml excerpts. I was running
> the tomcat plugin just yesterday and did not see this problem.
>
> On 16 Jan 2021, at 18:13, Dragan Bjedov  wrote:
>
> Hello,
>
> I have an issue with the Maven web app.
> When I hit run, it gets deployed two times.
> The Page opened on the first deployment has an error message, but the page
> opened on the second deployment works fine.
>
> This is output log:
>
>> Deploying on Apache Tomcat or TomEE
>> profile mode: false
>> debug mode: false
>> force redeploy: true
>> Undeploying ...
>> undeploy?path=/spring-security-demo
>> OK - Undeployed application at context path [/spring-security-demo]
>> In-place deployment at
>> /home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
>> Deployment is in progress...
>>
>> deploy?config=file%3A%2Ftmp%2Fcontext4118861961478191874.xml=/spring-security-demo
>> OK - Deployed application at context path [/spring-security-demo]
>> Start is in progress...
>> start?path=/spring-security-demo
>> OK - Started application at context path [/spring-security-demo]
>> Deploying on Apache Tomcat or TomEE
>> profile mode: false
>> debug mode: false
>> force redeploy: true
>> Undeploying ...
>> undeploy?path=/spring-security-demo
>> OK - Undeployed application at context path [/spring-security-demo]
>> In-place deployment at
>> /home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
>>
>> deploy?config=file%3A%2Ftmp%2Fcontext9162120569393006448.xml=/spring-security-demo
>> OK - Deployed application at context path [/spring-security-demo]
>> Start is in progress...
>> start?path=/spring-security-demo
>> OK - Started application at context path [/spring-security-demo]
>
> *Note: *There are no errors in server logs.
>
> *My setup is:*
> NetBeans 12.2
> Apache Tomcat 9.0.41
> Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 (Zulu JDK 15)
> OS: Ubuntu 20.04
>
> What is the problem here?
>
> Kind regards,
>
> Dragan Bjedov, MSc
>
>
>
>
> CONFIDENTIALITY NOTICE This message and any included attachments are from
> Cerner Corporation and are intended only for the addressee. The information
> contained in this message is confidential and may constitute inside or
> non-public information under international, federal, or state securities
> laws. Unauthorized forwarding, printing, copying, distribution, or use of
> such information is strictly prohibited and may be unlawful. If you are not
> the addressee, please promptly delete this message and notify the sender of
> the delivery error by e-mail or you may call Cerner's corporate offices in
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited,
> Registered in England no 2519305, Registered Office 37 North Wharf Road,
> London W2 1AF.
>


Re: Maven Web App deployment

2021-01-18 Thread Luff,Chris
Without seeing anything, it would seem that you have bound the plugin to 
multiple phases. Can you share the relevant pom.xml excerpts. I was running the 
tomcat plugin just yesterday and did not see this problem.

On 16 Jan 2021, at 18:13, Dragan Bjedov 
mailto:draganbje...@gmail.com>> wrote:

Hello,

I have an issue with the Maven web app.
When I hit run, it gets deployed two times.
The Page opened on the first deployment has an error message, but the page 
opened on the second deployment works fine.

This is output log:
Deploying on Apache Tomcat or TomEE
profile mode: false
debug mode: false
force redeploy: true
Undeploying ...
undeploy?path=/spring-security-demo
OK - Undeployed application at context path [/spring-security-demo]
In-place deployment at 
/home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
Deployment is in progress...
deploy?config=file%3A%2Ftmp%2Fcontext4118861961478191874.xml=/spring-security-demo
OK - Deployed application at context path [/spring-security-demo]
Start is in progress...
start?path=/spring-security-demo
OK - Started application at context path [/spring-security-demo]
Deploying on Apache Tomcat or TomEE
profile mode: false
debug mode: false
force redeploy: true
Undeploying ...
undeploy?path=/spring-security-demo
OK - Undeployed application at context path [/spring-security-demo]
In-place deployment at 
/home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
deploy?config=file%3A%2Ftmp%2Fcontext9162120569393006448.xml=/spring-security-demo
OK - Deployed application at context path [/spring-security-demo]
Start is in progress...
start?path=/spring-security-demo
OK - Started application at context path [/spring-security-demo]
Note: There are no errors in server logs.

My setup is:
NetBeans 12.2
Apache Tomcat 9.0.41
Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 (Zulu JDK 15)
OS: Ubuntu 20.04

What is the problem here?

Kind regards,

Dragan Bjedov, MSc



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Delivery Status Notification (Failure)

2021-01-18 Thread Alonso Del Arte
 > I have asked a question here and on stack overflow. No answers were
forthcoming.

Was it tagged "netbeans"? I'm not seeing your question on
https://stackoverflow.com/questions/tagged/netbeans maybe I missed it.

Al

On Mon, Jan 18, 2021 at 11:49 AM Mail Delivery Subsystem <
mailer-dae...@googlemail.com> wrote:

> [image: Error Icon]
> Address not found
> Your message wasn't delivered to *lan...@potsdam.edu.invalid* because the
> domain potsdam.edu.invalid couldn't be found. Check for typos or
> unnecessary spaces and try again.
> The response was:
>
> DNS Error: 13250332 DNS type 'mx' lookup of potsdam.edu.invalid responded
> with code NXDOMAIN Domain name not found: potsdam.edu.invalid
>
>
>
> -- Forwarded message --
> From: Alonso Del Arte 
> To: lan...@potsdam.edu.invalid
> Cc:
> Bcc:
> Date: Mon, 18 Jan 2021 11:49:33 -0500
> Subject: Re: support in the absence of community help
> - Message truncated -



-- 
Alonso del Arte
Author at SmashWords.com

Musician at ReverbNation.com 


Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread Carl Mosca
Chris,

Yes, please do let us know if you're using ant or maven if you're still
stuck after checking out David's suggestions.  Personally, I would
recommend maven (or gradle).

Also, as Gj referenced, if you've got a sample project in Github,
bitbucket, or somewhere that we can take a look, more specific help might
be offered.

I created a project here https://github.com/carljmosca/jxl-demo with the
library (using the included demo code) but it seems a bit dated.  I don't
do much with Office docs/spreadsheets
 these days but I think the one that David recommended is current.

After building it in NetBean, I ran it from the command line like this: java
-jar target/jxl-demo-1.0.jar -ps somefile.xls

HTH,
Carl

On Mon, Jan 18, 2021 at 8:54 AM David Gradwell  wrote:

> Chris ,
>
>
>
> If your project is a Maven project, look at
> https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6 (or
> better still follow the latest version link).
>
>
>
> If your project is an Ant project then find the jar and include it in the
> project libraries.  For example,
> https://www.findjar.com/jar/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar.html
> also
>
>
>
> There is another Java to Excel api see
> https://poi.apache.org/components/spreadsheet/ that I have used
> successfully.
>
>
>
> DG
>
>
>
> *From: *Geertjan Wielenga 
> *Date: *Monday, 18 January 2021 at 12:52
> *To: *"Christopher C. Lanz" 
> *Cc: *"users@netbeans.apache.org" 
> *Subject: *Re: using JExcel with Netbeans 12 running over Ubuntu 14.04
>
>
>
> For example, I'd love to help, but I have no idea what "jxl library" is,
> where to find it, etc, I have no idea what kind of project you're talking
> about -- Ant-based? Maven-based? Gradle-based? I.e., you either need to
> provide a project on GitHub so someone can look at it or complete
> instructions so someone can help you.
>
>
>
> If no one helps, it means that you haven't provided the info needed for
> someone to help you.
>
>
>
> Gj
>
>
>
> On Mon, Jan 18, 2021 at 1:46 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> You'll get help when you provide step by step instructions or, even
> better, a sample project on GitHub.
>
>
>
> Gj
>
>
>
> On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz
>  wrote:
>
> Hello,
>
>
>
> One of our fellow correspondents has suggested that I repeat this
> question. I am following their advice. Please forgive me.
>
>
>
> I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I
> have followed the directions available online:
>
>- adding the jxl-2.6.jar file to the classpath
>- placing the jxl-2.6.jar file in the same directory as the source
>- placing it in a new folder called "+libs"
>- adding a new library containing it
>- importing the classes
>
> and yet NetBeans is still unable to find the classes in the library,
> saying "the jxl package does not exist". I haven't found any instructions
> specifically for Netbeans 12 on linux - please let me know if they exist.
> It is likely that I'm missing some step in the process, so please mention *
> all* the necessary steps after download/extract the zipped .jar file.
>
>
>
>
>
> Chris Lanz
>
> Department of Computer Science
>
> 340 Dunn Hall, SUNY Potsdam
>
> lan...@potsdam.edu
>
> 315 268 1547
>
>
>
>
>
>
>
>

-- 
Carl J. Mosca


Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread David Gradwell
Chris ,

If your project is a Maven project, look at 
https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6 (or better 
still follow the latest version link).

If your project is an Ant project then find the jar and include it in the 
project libraries.  For example, 
https://www.findjar.com/jar/net/sourceforge/jexcelapi/jxl/2.6/jxl-2.6.jar.html 
also

There is another Java to Excel api see 
https://poi.apache.org/components/spreadsheet/ that I have used successfully.

DG

From: Geertjan Wielenga 
Date: Monday, 18 January 2021 at 12:52
To: "Christopher C. Lanz" 
Cc: "users@netbeans.apache.org" 
Subject: Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

For example, I'd love to help, but I have no idea what "jxl library" is, where 
to find it, etc, I have no idea what kind of project you're talking about -- 
Ant-based? Maven-based? Gradle-based? I.e., you either need to provide a 
project on GitHub so someone can look at it or complete instructions so someone 
can help you.

If no one helps, it means that you haven't provided the info needed for someone 
to help you.

Gj

On Mon, Jan 18, 2021 at 1:46 PM Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com>> 
wrote:
You'll get help when you provide step by step instructions or, even better, a 
sample project on GitHub.

Gj

On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz 
 wrote:
Hello,

One of our fellow correspondents has suggested that I repeat this question. I 
am following their advice. Please forgive me.


I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I have 
followed the directions available online:

  *   adding the jxl-2.6.jar file to the classpath
  *   placing the jxl-2.6.jar file in the same directory as the source
  *   placing it in a new folder called "+libs"
  *   adding a new library containing it
  *   importing the classes

and yet NetBeans is still unable to find the classes in the library, saying 
"the jxl package does not exist". I haven't found any instructions specifically 
for Netbeans 12 on linux - please let me know if they exist. It is likely that 
I'm missing some step in the process, so please mention all the necessary steps 
after download/extract the zipped .jar file.



Chris Lanz

Department of Computer Science

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu
315 268 1547







Re: using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread Geertjan Wielenga
You'll get help when you provide step by step instructions or, even better,
a sample project on GitHub.

Gj

On Mon, Jan 18, 2021 at 1:43 PM Christopher C. Lanz
 wrote:

> Hello,
>
> One of our fellow correspondents has suggested that I repeat this
> question. I am following their advice. Please forgive me.
>
> I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I
> have followed the directions available online:
>
>- adding the jxl-2.6.jar file to the classpath
>- placing the jxl-2.6.jar file in the same directory as the source
>- placing it in a new folder called "+libs"
>- adding a new library containing it
>- importing the classes
>
> and yet NetBeans is still unable to find the classes in the library,
> saying "the jxl package does not exist". I haven't found any instructions
> specifically for Netbeans 12 on linux - please let me know if they exist.
> It is likely that I'm missing some step in the process, so please mention
> *all* the necessary steps after download/extract the zipped .jar file.
>
>
> Chris Lanz
>
> Department of Computer Science
>
> 340 Dunn Hall, SUNY Potsdam
>
> lan...@potsdam.edu
> 315 268 1547
>
>
>
>
>


using JExcel with Netbeans 12 running over Ubuntu 14.04

2021-01-18 Thread Christopher C. Lanz
Hello,

One of our fellow correspondents has suggested that I repeat this question. I 
am following their advice. Please forgive me.


I need to use the jxl library in Netbeans 12 running in Ubuntu 14.04. I have 
followed the directions available online:

  *   adding the jxl-2.6.jar file to the classpath
  *   placing the jxl-2.6.jar file in the same directory as the source
  *   placing it in a new folder called "+libs"
  *   adding a new library containing it
  *   importing the classes

and yet NetBeans is still unable to find the classes in the library, saying 
"the jxl package does not exist". I haven't found any instructions specifically 
for Netbeans 12 on linux - please let me know if they exist. It is likely that 
I'm missing some step in the process, so please mention all the necessary steps 
after download/extract the zipped .jar file.



Chris Lanz

Department of Computer Science

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547





Re: support in the absence of community help

2021-01-18 Thread Geertjan Wielenga
And whatever you mean by "the $1,200 that their business support plan
requires", no. That, whatever it is, is incorrect. Apache projects do not
have business support plans.

Gj

On Mon, Jan 18, 2021 at 1:26 PM Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> It’s always best to put a sample application with your problem on GitHub
> and then start a thread here pointing to your code so that someone can take
> a look.
>
> Personally, when I see a long mail, I put it aside to look at it later and
> then never do.
>
> Gj
>
> On Mon, 18 Jan 2021 at 13:22, Carl Mosca  wrote:
>
>> I would ask again here if it was completely ignored I assume that is an
>> unfortunate oversight.
>>
>>
>>
>> On Mon, Jan 18, 2021 at 7:18 AM Christopher C. Lanz
>>  wrote:
>>
>>> Hello,
>>>
>>> I have asked a question here and on stack overflow. No answers were
>>> forthcoming. In such a situation, are users simply hung out to dry, or is
>>> there any option for support from Apache-Netbeans, or any other
>>> NetBeans-savvy source?
>>>
>>> I would happily pay for it, but I would rather not pay the $1,200 that
>>> their business support plan requires, for one question.
>>>
>>> Chris Lanz
>>>
>>> Department of Computer Science
>>>
>>> 340 Dunn Hall, SUNY Potsdam
>>>
>>> lan...@potsdam.edu
>>> 315 268 1547
>>>
>>>
>>>
>>>
>>> --
>> Regards,
>> Carl
>>
>


Re: support in the absence of community help

2021-01-18 Thread Geertjan Wielenga
It’s always best to put a sample application with your problem on GitHub
and then start a thread here pointing to your code so that someone can take
a look.

Personally, when I see a long mail, I put it aside to look at it later and
then never do.

Gj

On Mon, 18 Jan 2021 at 13:22, Carl Mosca  wrote:

> I would ask again here if it was completely ignored I assume that is an
> unfortunate oversight.
>
>
>
> On Mon, Jan 18, 2021 at 7:18 AM Christopher C. Lanz
>  wrote:
>
>> Hello,
>>
>> I have asked a question here and on stack overflow. No answers were
>> forthcoming. In such a situation, are users simply hung out to dry, or is
>> there any option for support from Apache-Netbeans, or any other
>> NetBeans-savvy source?
>>
>> I would happily pay for it, but I would rather not pay the $1,200 that
>> their business support plan requires, for one question.
>>
>> Chris Lanz
>>
>> Department of Computer Science
>>
>> 340 Dunn Hall, SUNY Potsdam
>>
>> lan...@potsdam.edu
>> 315 268 1547
>>
>>
>>
>>
>> --
> Regards,
> Carl
>


Re: support in the absence of community help

2021-01-18 Thread Carl Mosca
I would ask again here if it was completely ignored I assume that is an
unfortunate oversight.



On Mon, Jan 18, 2021 at 7:18 AM Christopher C. Lanz
 wrote:

> Hello,
>
> I have asked a question here and on stack overflow. No answers were
> forthcoming. In such a situation, are users simply hung out to dry, or is
> there any option for support from Apache-Netbeans, or any other
> NetBeans-savvy source?
>
> I would happily pay for it, but I would rather not pay the $1,200 that
> their business support plan requires, for one question.
>
> Chris Lanz
>
> Department of Computer Science
>
> 340 Dunn Hall, SUNY Potsdam
>
> lan...@potsdam.edu
> 315 268 1547
>
>
>
>
> --
Regards,
Carl


support in the absence of community help

2021-01-18 Thread Christopher C. Lanz
Hello,

I have asked a question here and on stack overflow. No answers were 
forthcoming. In such a situation, are users simply hung out to dry, or is there 
any option for support from Apache-Netbeans, or any other NetBeans-savvy source?

I would happily pay for it, but I would rather not pay the $1,200 that their 
business support plan requires, for one question.


Chris Lanz

Department of Computer Science

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547





Re: [Netbeans platform] Pov-Ray renderer tutorial

2021-01-18 Thread Geertjan Wielenga
You’re welcome to create pull requests for the tutorials.

I think this is the most comprehensive resource on the NetBeans Platform:

https://leanpub.com/nbp4beginners

Gj

On Mon, 18 Jan 2021 at 13:03, Richard  wrote:

> Thank you GeertJan. I will go to another NB Platform tutorial.
>
> I have completed the excellent EventManager tutorial. As the feedback link
> is also broken (PR_CONNECT_RESET_ERROR), I have here two suggestions for a
> further update of this tutorial :
>
> -  On step 2 that illustrates handling of multiple selections with Nodes :
>
> https://platform.netbeans.org/tutorials/nbm-selection-2.html
>
> I suggest to replace the second JLabel in the MyViewer window with a
> JTextArea. If you have multiple selections, the date properties are
> separated with a "," on the same line and the label length extends too
> much. When I tried to add a new line character after the "," separator, it
> was ignored by JLabel and all date properties remain on the same line. A
> JTextArea accepts the new line character and allows to display several date
> properties with one date property per line.
>
> - On step 4 illustrating a custom date property editor :
>
> https://platform.netbeans.org/tutorials/nbm-property-editors.html
>
> It is asked to add the swingx-all-1.6.4.jar library that should be found
> in the ide/modules/ext folder of the Netbeans IDE directory. This swingx
> jar does not exist in my Netbeans 12 installation. Is this normal ? As a
> workaround, I could find the swingx jar in my Netbeans 8.2 installation. It
> would be nice to suggest a download link for this library if it is no
> longer included in the last Netbeans versions.
>
>
> Richard
>
> Le 18/01/2021 à 11:52, Geertjan Wielenga a écrit :
>
> Pretty old tutorial and indeed the sources are gone on java.net.
>
> I'd recommend to not do this tutorial until it's been updated, which could
> take a while.
>
> Gj
>
> On Mon, Jan 18, 2021 at 11:39 AM Richard  wrote:
>
>> Hello.
>>
>> I would like now to run the Pov-Ray renderer tutorial using Netbeans 12
>> with Linux x64 OpenJDK 11 :
>>
>> https://platform.netbeans.org/tutorials/nbm-povray-1.html
>>
>> - At first step, the file that are created in the "povfile" module for
>> Povray File Support are not the same as shown in the tutorial, and
>> running the povsuite does not allow to open the "Favorites" window as
>> suggested.
>>
>> - Going further in step 3 of the tutorial with setting dependencies for
>> povsuite, running the povsuite complains about missing modules that
>> cannot be installed, although I have clicked on the "Resolve" button
>> when setting dependencies.
>>
>> So I wanted to have a look at the source code of the tutorial wich
>> should be there :
>>
>>
>> http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.1/tutorials/PovSuite
>>
>> But all java.net links are now broken ! Could anyone say where I can
>> find the source of this tutorial ?
>>
>> And as this tutorial was designed for Netbeans 7.1, is it always
>> runnable with Netbeans 12 ?
>>
>> Richard
>>
>> -
>> 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: [Netbeans platform] Pov-Ray renderer tutorial

2021-01-18 Thread Richard

Thank you GeertJan. I will go to another NB Platform tutorial.

I have completed the excellent EventManager tutorial. As the feedback 
link is also broken (PR_CONNECT_RESET_ERROR), I have here two 
suggestions for a further update of this tutorial :


-  On step 2 that illustrates handling of multiple selections with Nodes :

https://platform.netbeans.org/tutorials/nbm-selection-2.html

I suggest to replace the second JLabel in the MyViewer window with a 
JTextArea. If you have multiple selections, the date properties are 
separated with a "," on the same line and the label length extends too 
much. When I tried to add a new line character after the "," separator, 
it was ignored by JLabel and all date properties remain on the same 
line. A JTextArea accepts the new line character and allows to display 
several date properties with one date property per line.


- On step 4 illustrating a custom date property editor :

https://platform.netbeans.org/tutorials/nbm-property-editors.html

It is asked to add the |swingx-all-1.6.4.jar| library that should be 
found in the ide/modules/ext folder of the Netbeans IDE directory. This 
swingx jar does not exist in my Netbeans 12 installation. Is this normal 
? As a workaround, I could find the swingx jar in my Netbeans 8.2 
installation. It would be nice to suggest a download link for this 
library if it is no longer included in the last Netbeans versions.


Richard

Le 18/01/2021 à 11:52, Geertjan Wielenga a écrit :
Pretty old tutorial and indeed the sources are gone on java.net 
.


I'd recommend to not do this tutorial until it's been updated, which 
could take a while.


Gj

On Mon, Jan 18, 2021 at 11:39 AM Richard > wrote:


Hello.

I would like now to run the Pov-Ray renderer tutorial using
Netbeans 12
with Linux x64 OpenJDK 11 :

https://platform.netbeans.org/tutorials/nbm-povray-1.html

- At first step, the file that are created in the "povfile" module
for
Povray File Support are not the same as shown in the tutorial, and
running the povsuite does not allow to open the "Favorites" window as
suggested.

- Going further in step 3 of the tutorial with setting
dependencies for
povsuite, running the povsuite complains about missing modules that
cannot be installed, although I have clicked on the "Resolve" button
when setting dependencies.

So I wanted to have a look at the source code of the tutorial wich
should be there :


http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.1/tutorials/PovSuite

But all java.net  links are now broken ! Could
anyone say where I can
find the source of this tutorial ?

And as this tutorial was designed for Netbeans 7.1, is it always
runnable with Netbeans 12 ?

Richard

-
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: [Netbeans platform] Pov-Ray renderer tutorial

2021-01-18 Thread Geertjan Wielenga
Pretty old tutorial and indeed the sources are gone on java.net.

I'd recommend to not do this tutorial until it's been updated, which could
take a while.

Gj

On Mon, Jan 18, 2021 at 11:39 AM Richard  wrote:

> Hello.
>
> I would like now to run the Pov-Ray renderer tutorial using Netbeans 12
> with Linux x64 OpenJDK 11 :
>
> https://platform.netbeans.org/tutorials/nbm-povray-1.html
>
> - At first step, the file that are created in the "povfile" module for
> Povray File Support are not the same as shown in the tutorial, and
> running the povsuite does not allow to open the "Favorites" window as
> suggested.
>
> - Going further in step 3 of the tutorial with setting dependencies for
> povsuite, running the povsuite complains about missing modules that
> cannot be installed, although I have clicked on the "Resolve" button
> when setting dependencies.
>
> So I wanted to have a look at the source code of the tutorial wich
> should be there :
>
>
> http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.1/tutorials/PovSuite
>
> But all java.net links are now broken ! Could anyone say where I can
> find the source of this tutorial ?
>
> And as this tutorial was designed for Netbeans 7.1, is it always
> runnable with Netbeans 12 ?
>
> Richard
>
> -
> 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 platform] Pov-Ray renderer tutorial

2021-01-18 Thread Richard

Hello.

I would like now to run the Pov-Ray renderer tutorial using Netbeans 12 
with Linux x64 OpenJDK 11 :


https://platform.netbeans.org/tutorials/nbm-povray-1.html

- At first step, the file that are created in the "povfile" module for 
Povray File Support are not the same as shown in the tutorial, and 
running the povsuite does not allow to open the "Favorites" window as 
suggested.


- Going further in step 3 of the tutorial with setting dependencies for 
povsuite, running the povsuite complains about missing modules that 
cannot be installed, although I have clicked on the "Resolve" button 
when setting dependencies.


So I wanted to have a look at the source code of the tutorial wich 
should be there :


http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.1/tutorials/PovSuite

But all java.net links are now broken ! Could anyone say where I can 
find the source of this tutorial ?


And as this tutorial was designed for Netbeans 7.1, is it always 
runnable with Netbeans 12 ?


Richard

-
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: Updating text file in MultiView

2021-01-18 Thread Boris Heithecker
Hi,
use XMLDataObject.getDocument() to access the DOM. After modifying the DOM,
you can update the file like this:

final FileObject file = getPrimaryFile();
file.getFileSystem().runAtomicAction(() -> {
final FileLock l = file.lock();
try (final OutputStream os = file.getOutputStream(l)) {
XMLUtil.write(doc, os, "utf-8");
//Do something to unregister the Saveable
} finally {
l.releaseLock();
}
});

Hope it helps.
Boris

On Sun, 17 Jan 2021 at 23:13, Will Hartung  wrote:

> I have a XMLMultiView from the generic New File Type wizard.
>
> I'm creating the GUI form for the XML file.
>
> How do I keep the XML file up to date after I make changes in the GUI?
>
> Do I need to create a Saveable and put it in the lookup to mark it as
> "dirty", or will that happen automatically when the XML file is updated?
>
> Can I update the XML file only when the tabs are switched vs for every
> change? In that case, I would have to add a Saveable since the XML may not
> have changed yet.
>
> Anyway, how does that workflow all work out?
>
> Regards,
>
> Will Hartung
>
>

-- 
Boris Heithecker


Dr. Boris Heithecker
Lüneburger Str. 30
28870 Ottersberg
Festnetz: +49 4205 315834
Mobil: +49 170 6137015


Re: Updating text file in MultiView

2021-01-18 Thread Dragan Bjedov
I have created a similar plugin for CSV files.
Please take a look
https://bitbucket.org/draganbjedov/netbeans-csv-editor/src/master/
Hope it helps.

нед, 17. јан 2021. у 23:13 Will Hartung  је
написао/ла:

> I have a XMLMultiView from the generic New File Type wizard.
>
> I'm creating the GUI form for the XML file.
>
> How do I keep the XML file up to date after I make changes in the GUI?
>
> Do I need to create a Saveable and put it in the lookup to mark it as
> "dirty", or will that happen automatically when the XML file is updated?
>
> Can I update the XML file only when the tabs are switched vs for every
> change? In that case, I would have to add a Saveable since the XML may not
> have changed yet.
>
> Anyway, how does that workflow all work out?
>
> Regards,
>
> Will Hartung
>
>

-- 

MSc Dragan Bjedov