Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / April 2004

Tip: Looking for answers? Try searching our database.

package in applet?

Thread view: 
Zalek Bloom - 04 Apr 2004 22:26 GMT
Hello,

I am working with JBuilder9 - every program there needs to be included in a
package. So let assume the package name is "A" and the applet name is "B". What
name I am giving in the <applet> tag?

Thanks,

Zalek
Scott D. Barrish - 04 Apr 2004 23:24 GMT
To identify a class to use in a package, follow this general schema:

package.name.Class

So in your example, A.B would be the answer.  Making sure that your package
also has the correct folder hierarchy or the package is in a jar file.  If
using a jar file, place the jar file in your <JRE_HOME>\lib\ext folder or
putting the appropriate values in your CLASSPATH system variable.

Sincerely,
Scott D. Barrish

Folder A
-----B.class

> Hello,
>
[quoted text clipped - 5 lines]
>
> Zalek
Roedy Green - 05 Apr 2004 03:14 GMT
>I am working with JBuilder9 - every program there needs to be included in a
>package. So let assume the package name is "A" and the applet name is "B". What
>name I am giving in the <applet> tag?

You put it in a jar. That will make life ever so much simpler.

see http://mindprod.com/jgloss/applet.html for sample <applet tags.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.