I've been working on a game in an applet. In Eclipse it has been working completely fine, but when I sign it and load it in my browser, it throws a NullPointerException, without any further information. What can I do?
You don't give very much information here, but I can make a guess that you are calling getAppletContext and it is returning null, because the browser's java implementation is broken. Try the applet viewer, and try a different browser, and see if it works there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With