Skip to content

Commit 1716e78

Browse files
authored
Merge pull request #152 from BobHanson/hanson1
JTree working, JEditorPane fix for HTML text, ScrollPaneLayout fixed for miscalculation of border
2 parents f0cd28d + 3aa4a3b commit 1716e78

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+7043
-2516
lines changed

sources/net.sf.j2s.core/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: Java2Script Core
44
Bundle-SymbolicName: net.sf.j2s.core;singleton:=true
5-
Bundle-Version: 3.2.7
5+
Bundle-Version: 3.2.8
66
Bundle-Activator: net.sf.j2s.core.CorePlugin
77
Bundle-Vendor: j2s.sourceforge.net
88
Require-Bundle: org.eclipse.core.runtime,
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<html>
2+
<head>
3+
<title>SwingJS Examples</title>
4+
<meta charset="utf-8">
5+
</head>
6+
<body>
7+
<h2>Examples of java2script/SwingJS implementations</h2>
8+
9+
<table cellspacing=0 cellpadding=5 style="width:800px">
10+
<tr><td colspan=2>
11+
The pages listed below are a few of the thousands of implementations
12+
of java2script/SwingJS that can be found on the web. Phase III is the
13+
current phase of development, as of this writing.
14+
If you have a Java applet or application that you would like to see running in JavaScript
15+
or you have questions, feel free to contact
16+
the principal developer of java2script/SwingJS, <a href=https://stolaf.edu/people/hansonr>Bob Hanson</a> at <a href=mailto:hansonr@stolaf.edu>hansonr@stolaf.edu</a>.
17+
For more information, see also the <a href=https://github.com/BobHanson/java2script>GitHub main page</a> for the java2script/SwingJS project
18+
or the <a href=https://sourceforge.net/projects/jmol/>main page for Jmol/JSmol</a>.
19+
<br><br>
20+
</td></tr>
21+
<tr><td colspan=2 style="background:#aee">
22+
23+
<h3>
24+
Phase I (2012-15): AWT Jmol applet to AWT-like JSmol (First-generation java2script transpiler)
25+
</h3>
26+
</td></tr>
27+
28+
<tr><td valign=top style="background:#cee">JSmol</td><td valign=top style="background:#cee">
29+
<a target=_blank href="http://proteopedia.org/wiki/index.php/Main_Page">Proteopedia - Life in 3D</a>, a full *pedia devoted to the structure and function of biological macromolecules, with extensive contextualization of Jmol as JSmol.
30+
<br><br>
31+
<a target=_blank href="https://chemagic.org/molecules/amini.html">CheMagic Virtual Model Kit</a>, the most fully developed on-line chemical model kit ever, deeply integrating Jmol to allow far more than just making a molecular model.
32+
<br><br>
33+
<a target=_blank href="https://symotter.org/gallery">symmetry@otterbein</a>, one of the most beloved web pages for students of inorganic chemistry, with multiple examples of every three-dimensional point group in relation to molecular structure.
34+
<br><br>
35+
<a target=_blank href="https://chemapps.stolaf.edu/jmol/jsmol/simple.htm">Simple.htm</a>, a general page for exploring biological macromolecules (proteins, nucleic acids, carbohydrates)
36+
<br><br>
37+
<a target=_blank href="https://chemapps.stolaf.edu/jmol/jsmol/simple2.htm">Simple2.htm</a>, a general page for exploring small molecules
38+
<br><br>
39+
<a target=_blank href="https://chemapps.stolaf.edu/jmol/jsmol/nmr_predict_1H.htm">nmr_predict_1H.htm</a> Draw or search by name for a chemical structure and
40+
simulate its proton nuclear magnect resonance (NMR) spectrum interactively
41+
<br><br>
42+
<a target=_blank href="https://chemapps.stolaf.edu/nmr/viewspec2">viewspec2</a>, the front-end spectral viewing and analysis page for St. Olaf College's
43+
<a target=_blank href="https://chemapps.stolaf.edu/nmr">Bruker 400 MHz cyberenabled NMR spectrometer</a> (with 120-sample BACS autosampler)
44+
<br><br>
45+
<a target=_blank href="https://chemapps.stolaf.edu/jmol/jsmol">directory</a> of sample JSmol pages in the
46+
<a target=_blank href="https://sourceforge.net/projects/jmol/files/Jmol">Jmol/JSmol distribution ZIP file</a>
47+
<br><br>
48+
</td></tr>
49+
50+
<tr><td colspan=2 style="background:#aee">
51+
<h3>
52+
Phase II (2016): Expansion to Swing and other applications and applets (“java2script/SwingJS”)
53+
</h3>
54+
</td></tr>
55+
<tr><td valign=top style="background:#cee">Additional applet demos</td><td valign=top style="background:#cee">
56+
<a target=_blank href="https://chemapps.stolaf.edu/swingjs/site/swingjs/examples">SwingJS Examples</a>
57+
63 physics, math, and chemistry applets created over the course of six months still using the first-generation transpiler.
58+
<br><br>
59+
</td></tr>
60+
61+
<tr><td colspan=2 style="background:#aee">
62+
<h3>
63+
Phase III (2017-19): Second-generation transpiler and full AWT+Swing run-time environment applied to massive applet and application projects
64+
</h3>
65+
</td></tr>
66+
<tr><td valign=top style="background:#cee">
67+
<a target=_blank href="https://www.compadre.org/physlets">Physlet Physics</a>
68+
</td><td valign=top style="background:#cee"><a target=_blank href="https://www.compadre.org/physlets">main page</a>, with 1200 interactive simulations in 39 chapters of introductory physics
69+
<br><br>
70+
</td></tr>
71+
<tr><td valign=top style="background:#cee">
72+
<a target=_blank href="http://www.matheprisma.uni-wuppertal.de">MathePrisma</a>
73+
</td><td valign=top style="background:#cee">
74+
<a target=_blank href="http://www.matheprisma.uni-wuppertal.de/Inhalt/InhTable/ModulK.htm">ModulK.htm</a>, with 450 interactive applets fully embedded in more than 50 engaging introductions to the major areas of mathematics on 1300 web pages (in German; click on <i>Verschiebungen</i> at the bottom of the page to start the story)
75+
<br><br>
76+
</td></tr>
77+
<tr><td valign=top style="background:#cee">
78+
<a target=_blank href="https://www.jalview.org">Jalview</a>
79+
</td><td valign=top style="background:#cee">
80+
<a target=_blank href="https://www.jalview.org/jalview-js">The JalviewJS examples page</a> illustrating ways the Jalview multisequence alignment desktop</a> can be created within a browser
81+
<br><br>
82+
</td></tr>
83+
<tr><td valign=top style="background:#cee">
84+
<a target=_blank href="https://imagej.net/Welcome">ImageJ/SCIFIO</a>
85+
</td><td valign=top style="background:#cee">
86+
<a target=_blank href="https://chemapps.stolaf.edu/swingjs/imagej/demo2/TestJS-core.html">TestJS-core.html</a> Our first-ever test of transpiled Java SCIFIO in JavaScript, from the <a target=_blank href="http://www.csbdresden.de/news-events/news/article/have-yourself-a-merry-little-hackathon/">December 2019 Dresden bioimaging hackathon</a>
87+
<br><br>
88+
<a target=_blank href="https://chemapps.stolaf.edu/swingjs/imagej/demo2/io_scif_img_ConvertImg.html">io_scif_img_ConvertImg.html</a> A second test, using SCIFIO to convert and download an ICS+IDS image to TIFF format (creates and downloads a TIFF file viewable in <a target=_blank href="https://imagej.net/Fiji">FIJI</a>)
89+
<br><br>
90+
</td></tr></table>
91+
92+
</body>
93+
</html>
20 KB
Binary file not shown.
-324 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200202163957
1+
20200206154055
-338 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200202163957
1+
20200205074936
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This is sources/net.sf.j2s.java.core/dist/DEV_NOTES.txt
2+
3+
_j2sclasslist.txt
4+
5+
the list of .js files concatenated into coreswingjs.js and minified to coreswingjs.z.js
6+
7+
8+
SwingJS-site.zip
9+
10+
the full site directory for SwingJS including all files not in the test/ directory.
5.57 MB
Binary file not shown.

0 commit comments

Comments
 (0)