The rCOS model "CoCoME-exe-2" is translated into Java codes automatically, and the generated codes are used by a client program, "CashDeskGUI".
- Create a new project:

- Right click the "CoCoME-2.uml" and select the menu " rCOS->Export UML as java file" :
- Select a directory as the output place. For example, directory "src-cocome" in project "code-gen":

- The generated java codes:

- Import the client codes using the generated codes:
an external jar used by the client codes should be added:
- Right click the "CashDeskGUI.java" and select the menu "Run as->Java Application":

- The runtime snapshot of the client codes "CashDeskGUI.java":

(Developed by WANG Zheng, ECNU Shanghai, China, for the rCOS group)





