Alt Key + Mouse Scroll is the New Text Zoom In/Out in NetBeans
By Geertjan-Oracle on Jun 20, 2012
When the text zoom in/out, via "Ctrl Key + Mouse Wheel", was introduced in editors in a recent version of NetBeans IDE, many people cheered. Others booed because the combination "Ctrl Key + Mouse Wheel" is often pressed accidentally, especially when the user scrolls in the editor while intending to use some Ctrl shortcut, such as paste, which is Ctrl-v.
So, in NetBeans IDE 7.2, the text zoom in/out is now "Alt Key + Mouse Wheel":
Remember that the text change only persists for as long as the file is open. So, if you've accidentally resized the text (i.e., in the current situation, prior to 7.2, where unintended side effects may happen because of Ctrl key usage), you can just close the file and reopen it to get the text size back to the way it was before.