Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 27 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ JavaScript, allowing continued one-source development of both Java and JavaScrip

Developers of java2script/SwingJS itself should read README-developers.md

Bob Hanson (hansonr@stolaf.edu)


# About java2script/SwingJS

java2script/SwingJS is not a one-time "port" to JavaScript. It is a system that allows real-time Java-to-JavaScript conversion
Expand All @@ -22,31 +25,45 @@ automated production of browser-ready JavaScript versions of Java applications a

See https://github.com/BobHanson/java2script/tree/master/dist and the README file in that directory.

# History
# History - 2017-


https://github.com/BobHanson/java2script (development master)

Current development "Version 3.0 development master" involving a completely rewritten transpiler (2017/18) that nearly perfectly emulates the Java Virtual Machine, including Swing, audio, jpdf, and many other added packages.
Current development "Version 3.0 development master" involving a completely rewritten transpiler (2017) that nearly perfectly emulates the Java Virtual Machine, including Swing, modal and nonmodel dialogs, audio, jpdf, the AWT event thread, and many other added packages.


Examples include:

Physlets (https://github.com/BobHanson/Physlets-SwingJS) conversion to JavaScript by Wolfgang Christian (wochristian@davidson.edu) and Bob Hanson (in progress).

Jmol-SwingJS https://github.com/BobHanson/Jmol-SwingJS (code only)

Varna https://github.com/BobHanson/VARNA and https://chemapps.stolaf.edu/swingjs/varna

# History - 2010-2016

https://github.com/java2script/java2script (stable master)

Ported from SourceForge by Zhou Renjian, developed further by Zhou Renjian and Udo Borkowski as "Version 2.0".
Used by Bob Hanson (hansonr@stolaf.edu) in 2012 for the initial conversion of Jmol/java to JSmol/javascript (http://jmol.sourceforge.net/), Falsad physics applets (http://www.falstad.com), and PhET gas applications applets.

Extensively used by Bob Hanson in 2012-2016 for the conversion of Jmol/java to JSmol/javascript (http://jmol.sourceforge.net/), leading to extensive distribution and widespread use on the web. As of 3/2018, still the
only known widely-available java2sript application.

Developed further in 2016 by zhou Renjian, Udo Borkowski, Bob Hanson, Andrew Raduege, Nadia El Mouldi, and Paul Falstad (http://www.falstad.com) for the first round of post-JSmol application of java2script, adding javax.swing classes and
dubbed "SwingJS". Used by Bob Hanson during 11/2016 for conversion of the PhET gas applications applets.

Currently synchronized with https://github.com/BobHanson/java2script as the stable master version.

Examples can be found at https://chemapps.stolaf.edu/swingjs/phet/site/swingjs/examples
and https://chemapps.stolaf.edu/jmol/jsmol


https://sourceforge.net/projects/j2s (last updated 6/2010)

Initially developed by Zhou Renjian (zhourenjian@gmail.com, 2005-2017),
Soheil Hassas Yeganeh (soheil.h.y@gmail.com, 2006), Sal Ferro (svferro@gmail.com, 2006), Sebastian Gurin (sgurin@softpoint.org, 2008).


# History - 2005-2010


https://sourceforge.net/projects/j2s (last updated 6/2010)

Initially developed by Josson Smith (email?) and Zhou Renjian (zhourenjian@gmail.com, 2005-2017),
Soheil Hassas Yeganeh (soheil.h.y@gmail.com, 2006), Sal Ferro (svferro@gmail.com, 2006), Sebastian Gurin (sgurin@softpoint.org, 2008),
and others. The project was a "proof-in-concept" that saw limited actual application.