aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes swing with mysql connection1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing with mysql connection1" Watch "swing with mysql connection1" New topic
Author

swing with mysql connection1

Tapan Prajapati
Greenhorn

Joined: Mar 05, 2010
Posts: 27
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

The compiler has already told you what the problem is. It is also been helpful enough to tell you the line number at which the problem occurs.


Do you know what a NullPointerException is?
The problem with your code is you are invoking a method on an object instance which is null.
The instance is null because it has not been initialized when you invoke the method.
Hint: Check the sequence in which you are calling your internal methods.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing with mysql connection1