Newsgroups: comp.lang.javascript,comp.lang.java.programmer
There is a tool called »AsciidocFX« that will convert your
ASCIIdoc to a nice book:
watch?v=2goMtz_vdtM
. This is a Java application. What does Java have to do with
JavaScript?
This Java application contains a text editor.
I am always curious to learn how to program a text editor.
So I obtained the sources for AsciidocFx.
And this is what I learned: This is how you write a text
editor in Java in 2015: You include a WebView that is based
on WebKit. The editor then is actually Ace (ace.c9.io), i.e.,
it is written in JavaScript. Actually, the Java program is
a thin container. All the actual work is done by JavaScript
(scripts).
Statistics:
*.java files of AsciidocFx, octets add up to: 572 Kibioctets
*.js* files of AsciidocFx, octets add up to: 11.45 Mebioctets
JavaScript - the future of Java!
First, write your application in JavaScript.
Then, if you want a single cross-platform »executable file«,
add a thin container in Java.
Newsgroups: comp.lang.javascript,comp.lang.java.programmer
And please remember: As soon as the discussion moves from
both Java *and* JavaScript to any other topic, you should
set the Followup-To header appropriately!