Create autoincrement key in Java DB using NetBeans IDE

This may help you: CREATE TABLE “custinf” ( “CUST_ID” INT not null primary key GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1), “FNAME” VARCHAR(50), “LNAME” VARCHAR(50), “ADDR” VARCHAR(100), “SUBURB” VARCHAR(20), “PCODE” INTEGER, “PHONE” INTEGER, “MOB” INTEGER, “EMAIL” VARCHAR(100), “COMM” VARCHAR(450) ); That’s how i got mine to work… to ages to get the … Read more

How to use SASS with Netbeans 8.0.1

Installing SASS on Windows10, Ruby2.2.3, Netbeans8 Download SASS for Windows – RubyInstaller.org Install Ruby like: Search windows for CMD (Command Prompt) and start it. Access Ruby’s bin folder using cd \Ruby\bin (Hit Enter) Install sass using the command gem install sass (Hit Enter to install) Wait for the installation to finish In Netbeans open Options … Read more

How to count lines in a netbeans project

You can use wordcount that works with 7.1 nb-wordcount that works with 8.2. To configure wordcount go in Tools->Options->Miscellaneous. You have to change Accept filename if you want other files than Java and Groovy to match. To display the count window go in Window->Open WordCount Window. To display stats click on WordCounting (second button). I … Read more

NetBeans background scanning projects takes too long

Having the same issue with 8.0.2 when a project has JS resources I tracked it down in my case to a problem with the javascript2 editor module which has been updated over the original version shipping with netbeans 8.0.2. I simply solved it by removing the updated module. On Linux: rm ~/.netbeans/8.0.2/modules/org-netbeans-modules-javascript2-editor.jar However, after letting … Read more