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?
Thanks.
SRWenner
0
Newbie Poster
Recommended Answers
Jump to PostThe .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.
Jump to PostHe has built this applet using a linux machine and so all his scripts will only run on linux. So, trying to run the scripts on a windows machine most likely will not work.
Overall I'm not exactly sure what he is doing (I'm not very good with c …
All 7 Replies
hooknc
1
Posting Whiz in Training
SRWenner
0
Newbie Poster
SRWenner
0
Newbie Poster
hooknc
1
Posting Whiz in Training
SRWenner
0
Newbie Poster
Atanas67
0
Newbie Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.