SwingGui

javadoc

This service allows other services control features to be displayed.  It is the service which you "see" when you start MyRobotLab.  It is set to start automatically when one of the scripts "myrobotlab.bat, myrobotlab.sh, jython.bat, or jython.sh" are run.

It provides a service tab for other services.  With its own tab it provides a map of message routes and icons of currently running services.

Example for develop:

#file : SwingGui.py edit raw

#########################################
# SwingGui.py
# description: Service used to graphically display and control other services
# categories: display
# more info @: http://myrobotlab.org/service/SwingGui
#########################################

# start the service
gui = Runtime.start('gui','SwingGui')

# start a new service
python2 = Runtime.start('python2','Python')

# focus service
gui.setActiveTab("python2")

#gui.undockTab("python2")