So, as I said in the title. I have a program and it's working just fine, I thought I could rewrite it and make it a bit different but there's a problem. I decompiled it using Java-gui decompiler and when i put everything in eclipse as it was originally done, I get almost a hundred of errors, even if I'm not changing anything inside. I don't know what to do now, I'm a beginner and it's important for me to rewrite this particular one. I dont wanna learn whole JavaScript tho because i need it only for this one thing. If it's needed you can contact me to see how the program looks like, but i only wanna know why is it happening tho and if theres any solution