aspose file tools*
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 Spring in Action this week in the Spring 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: 42276
    
  64
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: 42276
    
  64
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