Download Latest Version smc-maven-plugin-7.6.0.jar (25.9 kB)
Email in envelope

Get an email when there's a new version of SMC - The State Machine Compiler

Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2023-06-24 754 Bytes
TASKDEMO.SH 2023-06-24 1.1 kB
TaskTable.java 2023-06-24 15.1 kB
Task.java 2023-06-24 11.4 kB
TaskController.java 2023-06-24 5.5 kB
taskdemo.java 2023-06-24 8.4 kB
TaskManager.sm 2023-06-24 5.8 kB
Makefile 2023-06-24 8.4 kB
manifest.txt 2023-06-24 54 Bytes
TaskDialog.java 2023-06-24 11.5 kB
TaskManager.java 2023-06-24 20.5 kB
Task.sm 2023-06-24 3.9 kB
TaskEventListener.java 2023-06-24 1.4 kB
TaskMessages.java 2023-06-24 5.7 kB
TaskPopupMenu.java 2023-06-24 5.6 kB
Totals: 15 Items   105.0 kB 0


                         Java Example 5


Simplistic, graphical simulation of a task processing.
Demonstrates state Entry actions.


+ Building
----------

NOTE: Smc.jar must be built and installed.

Unix & Windows:
    $ make taskdemo


+ Executing
-----------

Unix & Windows:

    $ java -jar taskdemo.jar

Click on "Create Task..." button and start a new task
running. If you want to create multiple tasks, click the
"Apply" button rather than "OK" since "OK" causes the
dialog box to be removed.

After creating one or more tasks, go to the task table and
click on a task row. Notice select an item from the pop-up
menu.

Also change the log message display to increase or decrease
message detail (the greater the level, the greater the
detail).
Source: README.txt, updated 2023-06-24