I have some general programming advice for you. Start naming your classes and methods with more descriptive names. It makes things far easier to understand - for you and for others reading your code.
I need to see your class, but it sounds like ok(); is not a member of your class. Can you copy it here?
Bookmarks