I'm a total nubie. I thought it would be useful to download the source for an applet and study the code. I picked a wonderful applet by Don Hatch:
http://www.plunk.org/~hatch/HyperbolicApplet/?size=513. The code in the jar file is all in .prejava files. My IDE (NetBeans) doesn't know what to do with these files. When I rename the extension of the main class source from .prejava to .java I get a lot of errors. Can anyone help me understand what .prejava files are and how to work with them?
Jump to Post
The .prejava files are actually his .java files. You'll have to rename each .prejava file to .java. Once that is done your ide shouldn't have any more errors.
All 7 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.