Originally Posted by
booter4429
Here is the error
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
Set a debugging breakpoing where you call the code, and see what is null.
In all cases, a null pointer exception is a programmer error. You are the programmer, fix the bug. Don't pass a null.
The event queue stuff can be a bit of a challenge, if you get really stuck, put a bunch of PMD in your code and see where it stops.
PMD is Poor Man's Debugger, aka System.out.println(....