THIS WORKS. USE THIS. NO ERRORS IN NETBEANS.