GithubHelp home page GithubHelp logo

swingjs-examples's Introduction

SwingJS-Examples is the test project that Bob Hanson uses for all 
official testing of SwingJS, always with the latest version 
of SwingJS-site.zip and net.sf.j2s.core.jar

You can unzip dist/site.zip to test SwingJS on your machine locally.
Just unzip the file and open one of the many html files in the site/ directory.

Or you can check out the project and do your own tests. 

By extending test.Test_., all Test_Foo classes 
automatically enable assert(), which is used extensively. 

For developers who want to create their own tests:

The swingjs/ directory holds four files:

net.sf.j2s.core.jar
SwingjS-site.zip     
build-site.xml
timestamp 

net.sf.j2s.core.jar is the Java2Script transpiler as an Eclipse plugin.
The transpiler needs to be put in the Eclipse dropins directory. 
If you already have one there, you should run Eclipse with the -clean flag
so that it resets its plugin information from the new version. 
It is purposely left without versioning because we had problems with
Eclipse not updating if a file with a new name was put in, and it makes the 
update simpler. 

SwingJS-site.zip holds the core JavaScript for SwingJS; basically the 
Java JVM in JavaScript.

build-site.xml is a simple ANT task that just unzips SwingJS-site.zip 
into your site/ directory.

timestamp is a one-line file that gives the latest date of the transpiler or runtime.

swingjs-examples's People

Contributors

bobhanson avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.