From Netbeans 7.2.1