Corrected netbeans action parameters so that it can be ran from NetBeans