Netbeans 7.4 introduces “10 lines max” per method rule. Where does this rule come from? [closed]

You can change the maximum method/function length warning behavior in NetBeans options (it’s under Tools->Options->Editor, in the Hints tab, under “Too Many Lines” section in the checkboxes list). There you can set the maximum number of lines, how you would like to be warned, etc. I believe that the rule was introduced by NetBeans developers … Read more

How to turn off a weird “box” cursor and selection behavior in Netbeans?

One possibility is you have the Rectangular Selection plugin installed. However, the more likely candidate is the rectangular selection feature in the editor core. Find the button on your edit toolbar, and toggle it off. As per helpful comments below, this can accidentally be switched on (and toggled back off again) using: On Windows and … Read more

How to change file encoding in NetBeans?

Go to etc folder in Netbeans home –> open netbeans.conf file and add on netbeans_default_options following line: -J-Dfile.encoding=UTF-8 Restart Netbeans and it should be in UTF-8 To check go to help –> about and check System: Windows Vista version 6.0 running on x86; UTF-8; nl_NL (nb)

How to clear the cache in NetBeans

Close NetBeans before deleting the cache. NetBeans 7.2+, Windows 7 Cache is located in C:\Users\<username>\AppData\Local\NetBeans\Cache\. Clear the cache using the %USERPROFILE% Windows variable: del /s /q %USERPROFILE%\AppData\Local\NetBeans\Cache\ If it is set, you can also use the environment variable %LOCALAPPDATA%: del /s /q %LOCALAPPDATA%\NetBeans\Cache\ NetBeans 7.2+, Linux Cache is at: ~/.cache/netbeans/${netbeans_version}/index/ Mac OS X Cache is … Read more

Can’t create project on Netbeans 8.2

EDIT: The solution is to install JDK 8, as JDK 9 and beyond are currently not supported. If however, you already have installed JDK 8, then kindly follow the steps outlined below. The reason is that there is a conflict with the base JDK that NetBeans starts with. You have to set it to a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)