Java (JSweet APIs:
specs
+ Java APIs:
J4TS
)
Transpile (ctrl+s) >>
Choose program:
Basic alert
On click alert
Basic jQuery
Complementary colors (with Java APIs)
Logo rotate (3D)
Ray tracer
package org.jsweet; import static def.dom.Globals.*; /** * This is a very simple example that just shows an alert. */ public class HelloWorld { public static void main(String[] args) { alert("Hi there!"); } }
JavaScript
Show TypeScript
Run >>