wood burning stoves 2.0*
The moose likes Applets and the fly likes Javascript & Java Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Javascript & Java Applet" Watch "Javascript & Java Applet" New topic
Author

Javascript & Java Applet

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Can we include java script or style sheet in java applet?

Please get me example
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
It's not possible.


Ping & DNS - my free Android networking tools app
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Ulf Dittmer:
It's not possible.


can we put a in separate e.g. test.css or test.js and invoke these files via inserting path in the applet?

Thanks for your reply
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41089
    
  44
Applets have no concept of a "path", and they can't use CSS, JS or HTML.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Originally posted by Ulf Dittmer:
Applets have no concept of a "path", and they can't use CSS, JS or HTML.


Thanks for help and replies
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript & Java Applet
 
Similar Threads
How to invoke a java class which is not an applet from the html page?
applet
Clock
Clock
How run aaplet through ant.