Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with ist applet

 
krranjan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hallo,
I am a new java user I am getting an error messsage while compiling my first java applet(that error is :- class not found)
please help me out

thanks in advance,
(rajeev singh)
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class not found error comes when the class could not be traced. If u are using a webserver then put the file in public_html or htmldocs.
If u are just testing without the webserver, in that case,
then put the html file in the same directory where ur applet program is
in the html file
<applet code="filename.class" width=widthofapplet height=heigtofapplet></applet>

------------------
Sandeep Jain
 
San Marathe
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Please check your class file name and class name used in class file.

-Sanjay
------------------
 
Stephanie Grasson
Ranch Hand
Posts: 347
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajeev,
Please be sure to register with a proper name.
"krranjan" does not follow the conventions.
See here for details: http://www.javaranch.com/name.jsp
If you do not register properly, your account will be disabled.
I would hate to see that happen.
Thank you.
Stephanie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic