|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
||||
|
||||
|
I made an applet that uses a class that I made..so when I put the applet into htlm how do I include the class that the applet is using....?
thanks for any help. |
|
#2
|
|||
|
|||
|
place ur class file and the applet file in the same directory...
|
|
#3
|
||||
|
||||
|
yah, everything is in one folder duh,,
you know in hmtl the applet tag contains the name of the main class.... but i have additional classes that the applet uses,,, |
|
#4
|
|||
|
|||
|
u dont have to include that class...it will be automatically included if the classpath is set....
|
|
#5
|
||||
|
||||
|
class path? what is it and how do I do it?
thanks for any help |
|
#6
|
|||
|
|||
|
classpath is an variable that specifies the path where the JVM shud search for class files...
to set the classpath goto DOS prompt(if ur using windows) and type set classpath=%classpath%;C:\dir\subdir; C:\dir\subdir >> is the path where ur class file exists... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > hmmm.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|