Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use of package in an Applet

Status
Not open for further replies.

geckoMan

Programmer
Jul 11, 2003
1
US
All the applets that I have seen do not have a package reference. I was going through and organizing all of my Java source code so that when I build everything with Ant, the class files are placed under a "classes" directory with a directory relating to each package name. Everything works fine except for the few applets I have. It seems as though trying to reference the package name with the name of the class in the HTML file isn't as easy as it would seem. I keep getting "class not found" or "wrong name (package-name/applet-name)" errors.

Any thoughts, comments, or ideas would be appreciated.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top