This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "package error!!!" Watch "package error!!!" New topic
Author

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.
thanx
prabhakar.
Vinod Venugopal
Ranch Hand

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


- Vinod<br />-------<br />SCJP2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: package error!!!
 
Similar Threads
Unsupported class version error
applet wont run
Running a java program with swing componets
applet and servlet communication error: java.io.EOFException
Not a happy camper....