At first when i read your question I wondered if you were trying to access the class directly without instantiating it: That means you must modify it to be static. I hope the above responses helped...