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.