You are here

Demo

Kinetic Models demo

Here you can download a demo of the KineticModels framework. When you press the Load data button on the main screen the software loads in memory a long list of randomly generated contacts.This list, formerly a list of Java Beans, represents the main model for all the GUI components.

There are five different tabs showing different aspects of the same list.

  • Filter table - This tab shows the list in tabular format. You can filter the table and change the layout of the content. Each rows in the table represents the content of a Java Bean introspected by Java Reflection.
  • Unique List - This tab shows just an attribute per customer but in this case the list doesn't contains duplicates. You can change the layout of the list. This is obtained applying a specific wrapper over the original list.
  • Aggregation table - This tab shows again a tabular version of the list but in an agggregated format. You can change the aggregation to be applied using the upper combo box. The aggregation is obtained applying a specific wrapper over the original list.
  • Aggregation chart - This tab shows again an aggregation applied on the original list but this time in a graphical format.
  • Navigator pane - This tab allows you to navigate and change the content of the common list model.

If you press the Start thread button multiple times you run a set of threads that concurrently modify the loaded list, adding, removing and updating random contacts. While the threads are running you can still modify the layout of the component, executing filters and change the aggregation to be applied over the common list model.

Also the Navigator Pane reacts to the random changes of the list but in this case it modifying the content of the list while the trheads are running can generate unespected behaviors.

Following an archive containing the full working application. You need Java 6 to run it. On Windows systems double click on the file org-kineticsystem-commons-data-demo-SNAPSHOT.jar to run the application.

KineticModelsDemo.zip

You can checkout the latest source code from the Subversion repository trunk using the following command:

svn co https://kineticmodels.svn.sourceforge.net/svnroot/kineticmodels/trunk workspace-kineticmodels

This command will check out the demo and the framework code into the local directory workspace-kineticmodels