You should do some research on static in java. Here's a page in the tutorial.
Understanding Instance and Class Members (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
...
Type: Posts; User: Norm
You should do some research on static in java. Here's a page in the tutorial.
Understanding Instance and Class Members (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
...
Why are you trying to use a static method?
Have you tried writing a simple test case and see what happens?