If you don’t understand the error message it is likely that you are not using the static context correctly. Please search the beginning Java™ forum and this forum for threads about static methods; there were two, about two weeks ago.
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington