I had a similar problem. A workaround works for me.
In my case, I found that netbeans uses the first cursor theme in "/ usr / share / icons" and ignores everything that I set as the cursor theme for the desktop.
Say the first cursor topic used by netbeans is "/ usr / share / icons / firsttheme" and the theme I want to use is "/ usr / share / icons / mytheme".
To solve the problem, I simply copy the contents of / usr / share / icons / mytheme to / usr / share / icons / firsttheme.
Remember to back up the original theme before copying!
source share