Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript & Java Applet

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we include java script or style sheet in java applet?

Please get me example
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not possible.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets have no concept of a "path", and they can't use CSS, JS or HTML.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic