A patch for NetBeans 7.0 has been released and is available through the update check in the IDE. There was a slight issue with the patch coming through so if you don't get a notification, install the updates from the plugin manager (Tools -> Plug-ins). You should see the changes in the Updates tab (if not, press the Reload Catalog button).
This patch for NetBeans 7.0 fixes bugs in several plugins including JavaEE and JavaCard.