Jan Cumps wrote:Try to put the Class.forName() piece in the second try block, and remove the first try/catch pair.
Let is now if this fixed your issue.
Nitesh Kant wrote:Its important to TellTheDetails.
Normally, an NPE is the most trivial exception to resolve and the line number in the exception will tell you where it occur.
Maneesh Godbole wrote:Recommended reading http://java.sun.com/docs/books/tutorial/uiswing/components/list.html#mutable