Forum Moderators: travelin cat
public void run() {
}
...and that's the last thing in the file. But where is the code for that function? There are no other files associated with this applet. It's very confusing.
Usually it is possible to mark such as method as virtual, meaning that another class *must* implement it, but there are often occasions when the class itself can perform everything desired of it, and yet other classes may wish to inherit and specialise it by adding extra functionality.
Search for the class name in the other Java source files and you may well find a class extends it - that will have a run method with real code in it....
DerekH
there's no code that actually *does* anything.
While I know next to nothing about Java, I've heard the quote above from colleagues who've tried to understand object-oriented code. If you're unfamiliar with object orientation, you might want to devote a few hours to learning the basics there.
What Derek is saying all sounds right. The file you are looking at probably does little besides "inherit" functionality from other classes, which may be in very different places on the hard drive's directory structure.
But we need a Java programmer to give specific advice...
You may be able to get back to source code with a Java decompiler like Mocha:
[brouhaha.com ]
It's possible, however, that the original developer may have made it difficult to get back to the source code.
I'm wondering, is there a board at WW where we'd be likely to find more Java expertise?