GWT apps

De Lillois Fractale Wiki
Aller à la navigation Aller à la recherche

Tech Intro

This page contains links to various MatscApp (Matscape Apps). These are java FX applications developped by the author.

It is possible to lunch these apps in two modes:

  • embed: embedded within the browser
  • webstart: in a separate window

This works with Firefox, Opera, IE, Safari. But Java is no more supported by Google Chrome.

App List

Embed WebStart Description
Spiral
Spiral
basic animation drawing
Polyhedron
Polyhedron
a study on numerous variants of animated polygons . It shows animated versions of the 5 basic platonic solids described by Pythagoras.
ZeKlok
ZeKlok
a funny clock by Philippe. One of the original feature of ZeKlok is the separation of the inner (night) and outer (day) spires.
KlokoDream
KlokoDream
a funny clock by Paul
Oscillo
Oscillo
simple 2D oscillator
Heron
Heron
computing the surface of a triangle. The formula used for the computation was found in the first century of our era by Heron, in Alexandria.
no
no
S'il est juste qu'un anniversaire représente un écho temporel remarquable (un nombre entier de rotation autour du soleil depuis l'événement original), il semble que d'autres échos temporels puissent être également déclarés remarquable. C'est le cas pour ceratins mensiversaires (mois), hebdoversaires (semaines) et diversaires (jours), en particulier lorsque les multiples sont des nombres remarquables. Par exemple 10 000 jours ou 300 mois représentent des échos célébrables d'événements originaux.
Properties
Properties
display JVM properties

Tech notes

Modes

The apps are accessible in 2 modes:

  • The webstart mode opens a separate (nearly standalone) window
  • The embedded mode opens a new browser page (this may take some time to load)

During the development, the apps are tested in standalone mode.

Technology

The underlying technologies are:

  • Java, JavaFX (NetBeans IDE projects)
  • a bit of bash and php
  • several specialized libraries from Matscape, including animation libraries.

Note that this animations are good examples of JavaFX development and deployment.

Browser support

Depending on OS (windows, MAC, Linux), on browsers (Firefox, Chrome, Opera, IE), and on security settings, some modes may not work...

Software Sources

All MatscApp objects are basically (java) animFXapplic objects.

They are defined as NetBeans projects, in the directory $jnb.

Examples of AnimFXApplic objets are in the AnimFXLab project.

An AnimFXApplic should at least contain:

  • package and include statements
  • class declaration (extends animFXapplic)
  • a defineAnims() method implementation
  • a subclass of animPane, with 3 methods at least: draw(), butEvent() and moveEvent().

Password protection

All MatscApp may be password protected. Here are the steps to organize it.

  1. In the defineAnims() segment ofg the animFXapplic, initialize the global var passwordApplic.
  2. The password management is covered by the class mscp.util.password (part of the mslib project).  To create, reset or check password, use the bash command : run password . This application provides more explanation on the possible password tasks.

MatscApp deployment

The deployment is realized through the fx bash script.