Re: Using Mockito with Netbeans

2024-02-29 Thread Vic Ricker
I can't help with Mockito, except to say that I use it with Netbeans all the time.  I write the tests mostly from scratch. I'm not sure what Netbeans could automate beyond creating template test methods as it does now. One tip I can share, that I discovered by accident, is that Netbeans can s

Re: Run-Time Error: email Validation project still giving errors

2024-02-27 Thread Vic Ricker
Do you have Java 11 installed and configured under Tools/Java Platforms?  That would be my first guess. Also, Tools/Options/Maven has the default JDK for Maven. On 2/26/24 22:39, Zulfi Khan wrote: Dear NetBeans Mailing List user, I am getting a invalidating email. I am using an Apache email v

Re: Java DB

2024-02-07 Thread Vic Ricker
You can probably install the Derby drivers from here: https://db.apache.org/derby/derby_downloads.html On 2/3/24 12:34, Tom wrote: Hi, I am trying to connec to the Glassfish Java DB sample database. I am getting this error message: Unable to connect. Connection failed: Unable to find a suita

Re: Navigating between errors, warnings hints etc

2024-01-24 Thread Vic Ricker
It used to be CTRL-PERIOD and CTRL-COMMA, but it stopped working a long time ago. It's not quite the same, but the Action Items window (CTRL-6) is really nice.  It shows all of the errors, TODO and FIXME comments, and other things.  You can click on the entries to go to the relevant part of th

Re: Has anyone been able to get FindSecBugs plugin to work with NB post 8.x?

2022-07-02 Thread Vic Ricker
I use Spotbugs, sb-contrib, and findsecbugs via maven. I think it's the "Run Maven" plugin that lets you right-click your project "Run Maven".  First time, choose "Goals".  Enter "spotbugs:spotbugs spotbugs:gui" for "Goals" and check "Remember as" at the bottom, and name it "Spotbugs".  Next t