I'm on Lion, not Mountain Lion, but I experienced the issue with the fonts too after upgrading to Java 7. On my system the Java 6 SDK is still available at System/Library/Java/JavaVirtualMachines/1.6.0.jdk.
Since I still wanted Java 7 to be the default version and just change it for NetBeans, I edited the netbeans.conf file to tell it to use Java 6. To get to netbeans.conf, right-click on the NetBeans application and select Show Package Contents. Then navigate to Contents/Resources/NetBeans/etc and open netbeans.conf. Uncomment the netbeans_jdkhome option and set it as follows:
netbeans_jdkhome="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Ho me"
The fonts should now be fixed (and when you go to NetBeans > About NetBeans it should show that it's running Java 6).
I'm not sure if this will help for Mountain Lion, but if it's just a matter of not having Java 6 installed, then you could simply download the Java 6 SDK from Oracle's site, or copy it from a Mac running Lion (or earlier maybe would work too).
And make sure you run Software Update first, since I know Apple disabled Java temporarily until the latest update, due to a security concern (although that may have only affected the browser plugin).