• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running a Java Applet in Browser

 
Kevin Olome
Ranch Hand
Posts: 44
1
Android Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I purchased the Book "Data Structures and Algorithms in Java" by Robert Lafore.
In this book there are applets to test and get a bigger picture about the algorithms and data structures.

But for some security reasons I can't get the java applets to work. It is blocked.
I can't make an exception with the url because it is "FILE" format. (in javacpl)

What should I do? I have java8
 
Campbell Ritchie
Marshal
Posts: 53165
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use applets. Convert the code to a normal application run from the command line. If you absolutely insist on using applets, write a tiny HTML file to contain the applet and open it with the appletviewer tool.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!