Actions for netbeans