Thank you for the reply, but normally a nullPointerException will print out the code line number where the exception was thrown. In this case it appears to be thrown within the SunToolKit code.
I have a Java applet which pops up a window which is a subclass of JFrame to which a JPanel subclass is added. This works perfectly well for 99% of the time, but occasionally appears completely blank and the following exception is thrown,
java.lang.NullPointerException
at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.