Is it possible to only run one application as non-retina whereas everything else is retina?
Select Netbeans in Finder, right click and press "Get Info" (or press Cmd ⌘-I on the keyboard). In the window that pops up, check "Open in Low Resolution".