Okay, I'm an extreme newbie as well, but I think I know your problem. In
order to run a java application, you have to have one method named
"main":
public static void main(String[] args){
//do something, such as invoke your method above
}
It is okay to have a class without a main method, but only if you don't
try to invode that class directly (that is, you import it into other
code.)