Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 30th, 2002, 06:05 PM
irm_lexx's Avatar
irm_lexx irm_lexx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 231 irm_lexx User rank is Private First Class (20 - 50 Reputation Level)irm_lexx User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 15 h 47 sec
Reputation Power: 7
Question hmmm....

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.

Reply With Quote
  #2  
Old May 1st, 2002, 03:12 AM
aabha aabha is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: India
Posts: 7 aabha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to aabha
place ur class file and the applet file in the same directory...

Reply With Quote
  #3  
Old May 1st, 2002, 09:38 AM
irm_lexx's Avatar
irm_lexx irm_lexx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 231 irm_lexx User rank is Private First Class (20 - 50 Reputation Level)irm_lexx User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 15 h 47 sec
Reputation Power: 7
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,,,

Reply With Quote
  #4  
Old May 1st, 2002, 11:52 PM
aabha aabha is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: India
Posts: 7 aabha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to aabha
u dont have to include that class...it will be automatically included if the classpath is set....

Reply With Quote
  #5  
Old May 2nd, 2002, 06:53 PM
irm_lexx's Avatar
irm_lexx irm_lexx is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 231 irm_lexx User rank is Private First Class (20 - 50 Reputation Level)irm_lexx User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 15 h 47 sec
Reputation Power: 7
class path? what is it and how do I do it?

thanks for any help

Reply With Quote
  #6  
Old May 3rd, 2002, 01:20 AM
aabha aabha is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: India
Posts: 7 aabha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to aabha
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...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > hmmm....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway