I use NetBeans, and when I activate other applications or windows then return to NetBeans, the cursor no longer changes to the text selection cursor, but instead it remains as the default mouse icon. I can solve the problem by hovering over the application toolbar, then go back to the editor area.
I have this problem in another IDE, phpstorm, it also happens occasionally in Chrome. TextMate and TextEdit do not have this problem.
Why is this happening? How can I fix it so I don't have to keep moving the cursor outside of the editor constantly?
For further explanation, please pay attention to the mouse cursor in a video I made showing the problem.