JavaScript or Java Applet MENU
Go to:
Programs coded by John A. Byers © 2000-2021.
The Java Plugin for web browsers relied on the cross-platform plugin architecture NPAPI, which was supported by all web browsers from about 2000 to 2014 (or so?). Google's Chrome version 45 and above dropped support for NPAPI (as of June 30, 2021 my Chrome says 91.0.4472.124), and therefore Javascript with Java Applets do not work on Chrome anymore. It seems that only Internet Explorer 11 still supports Java applets and with Search you can find it in Windows 10, and pin to taskbar. You do need to have Java installed (which can be downloaded and intalled from Oracle website (see bottom of this webpage for link, red button). If you don't have the latest version then a warning message will show at bottom of screen saying "Java (TM) was blocked because it is out of date and needs to be updated. [Update] [Run this time]". Actually I use Java 4 code in Java 6 complier, which is much older than Java 9 or later version. Why? Well, graphics in early Java 6 (6.06 or so) was very fast but after version 6.20 or so then it bacame 15 times slower (yes 15 times!) and this bug was not fixed until mid version 8. So I don't [Update] but rather click [Run this time]. You can try to [Update] to newest version of Java. The [Run this time] runs my applets. However, Internet Explorer is not the latest Microsoft version (Edge does not support applets) and is not used so much anymore.
Whatever...unfortunately I had invested many months of man-hours in development of java applets over the years since about 1998. My Java applications that run from the desktop still work great and are very powerful and advanced. I do all my simulation work and graph making for scientific studies with Java applications integrated with PostScript. I also work with the 1990's QuickBASIC as this language is straigtforward and easy to program, then often I port the heart of the BASIC program to a Java application. Since it is still possible to run IE 11 in Windows 10, I left a link to my old Java applet webpages. Also if you have an older computer running XP and IE 6, 8, or 9 then they run Java applets.
OLD Java Applets Menu (2000-2013)
- no longer updated.
In 2019, I became aware that HTML5 Canvas - Javascript implemented with a package called p5.js and its libraries can be used to replace Javascript-Java Applets (with a lot of re-programming, however). p5.js is supported by Microsoft Internet Explorer 11 and newer Edge, Chrome, Opera, Firefox, Safari, and Chrome for Android phones/computers - but p5.js is not supported by earlier browser versions before 2018 or so. The p5.js software was developed by Lauren McCarthy, Casey Reas, and Ben Fry (c) 2016 as presented in their book "Make: Getting started with p5.js" but is now on github and part of a hobbiest software development organization. Initially, p5.js was difficult and awkward for me, but after a week or two of much trial and error I became confident that almost any Java applet can be converted and ported to HTML5-Javascript-P5.js. I had trouble with textboxes and then 2D arrays and other seemingly quirks but most issues have been resolved. Although the p5.js command x1 = round(23.45555,2) to give x1=23.46 on Chrome running on my desktop with web pages on my disk drive, but when in Chrome on the Internet this gave x1=23 (integer). I don't know why still and uploaded the latest p5.js version (1.4.0) but to no avail. I managed a workaround that I use in Java applications.
Over time, I will convert most all of my unsupported applets to p5.js unless there is something I don't understand or my motivation runs out. The link following this sentence is for the p5.js javascript animations and calculators that I've converted so far from my old Java applets.
NEW HTML5-Canvas-Javascript Menu - from 2021
- under construction...
There are two more ways to convert Java applets, one is to just make a Java application and use Java webstart (as below two examples), another way is to use CheerpJ software that makes javascript to pop into HTML but I've not tried this as it seems to (1) need an internet server for programming (I may have) which means you can't program on your computer alone but only connected to Internet, and (2) need some software that might cost in future and also this CheerpJ seems kind of complicated. I think p5.js is pretty good and is maturing still, and as you become familiar the p5.js gets easier (using templets developed by trial and error). Time will tell. - John A. Byers 2021.
Download Java applications and run from desktop with Java installed from Oracle:
findsex.jar = simulations
speed.jar = speed of your computer
https://java.com/en/download/help/enable_browser.xml
Only Microsoft Internet Explorer 11 still runs Java applets.
Java Web Start (.jpnl files) would not allow disk access by Java program unless digitally signed (which costs $$$). Instead, I found that you can just download the java JAR file and save it and run it with all permissions (disk access). This method works on java applications as JAR files in all web browsers: Chrome, Edge, Firefox, and Opera. After clicking on a JAR file link above, e.g. findsex.jar, a tab appears at lower left (Chrome), then click "Keep" and then "Open" - John Byers 2019.