File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes package error!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "package error!!!" Watch "package error!!!" New topic

package error!!!

varkala prabhakar
Ranch Hand

Joined: Sep 08, 2001
Posts: 54
Hai all,
I have made a package consisting of some classes of applet applications. When i tried to use that package in my program, compiling properly.
but while execution the applet doesn't get initialized and i get error that the package class file is not found.
when i tried this package method for small programs like addition,multiplicaion,(Non applet programs) it worked fine.
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
You have to give the entire package structure even in the HTML code base so that the applet gets initialized.

- Vinod<br />-------<br />SCJP2
I agree. Here's the link:
subject: package error!!!
It's not a secret anymore!