This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
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 RabbitMQ in Depth this week in the Open Source 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: 806
Can we include java script or style sheet in java applet?

Please get me example
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
It's not possible.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 806
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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
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: 806
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