Updated

Check out the improvements I've made to your program. I commented all the logger lines so I could test it out in Netbeans.