SoulfulKris
New Member
I'm trying to embed a Java applet that I wrote into an html file. Every time I run the file, I get a "java.lang.ExceptionInInitializerError." I assume the problem is in the initialization function so I've included it below. If there is any other information/code that would be useful, let me know!How to solve the \[code\]java.lang.ExceptionInInitializerError\[/code\]?\[code\]@Overridepublic void init(){ //Execute a job on the event-dispatching thread; creating this applet's GUI. try { SwingUtilities.invokeAndWait(new Runnable() { @Override public void run() { enterLogin(); } }); } catch (InterruptedException | InvocationTargetException e) { System.err.println("createGUI didn't complete successfully"); }}\[/code\]