GLG Java Stock Ticker Demo

This demo uses a Glg Bean to display and periodically update a stock graph in a web browser. The updates are driven by data supplied by a CGI program running on a web server. Check the GLG Graph Feedback demo for an example of interaction with a GLG graph to get data pointed to by the cursor.

This drawing uses a widget from the GLG Widgets Catalog. The drawing can be modified interactively and new custom graphs can be created using the GLG Graphics Builder.

The graph can keep the data source connection open, or it can connect to the data source periodically to get new data and then disconnect.

The graph's appearance can be customized interactively in the GLG Graphics Builder to use different representations for Low, High, Open, Close and other values displayed in the graph.


This demo uses an out-of-the-box GlgBean as an applet, so there is no Java source code.

NOTE ON RUNNING LOCALLY: This demo will not show any data when it's run locally because it tries to get the data from the www.genlogic.com web site, which, if run locally, causes the Security Exception to occur.To run locally, change the DataURL parameter to point to a local source of data, or run the demo as a stand-alone Java program.