JDemo is a free and easy to use, small Java demonstration framework. Its concept is similar to the one of JUnit.
As supplement to test driven software development, JDemo provides a new approach of demo driven development.
When developing software, you write short code snippets (demo cases) that use your new API. The demo then demonstrates both: how to use the API and what happens when you execute the code.
So you can for example interactively test the usability of GUI components. JDemo has a lot of convenience classes and methods that make implementing those demos very easy.
The demos can then be launched from a Swing application called Demo Runner. Demos can also be used for automatically taking screenshots for documentation purposes.
NOTE: JDemo is licensed and distributed under the terms of the Common Public License 1.0.
Requirements:
· Java 1.6 or later
What`s New in This Release: [ read full changelog ]
· JDemo is now based on JDK 1.6.0
· There is a new @Demo annotation, that can be used just like the @Test annotation in JUnit 4. Note that @Demo replaces the old @JDemo (now deprecated).
· Showing files (from de.jdemo.framework.DemoCase subclasses) now uses the new JDK 1.6 java.awt.Desktop class for opening files in an appropriate application
· Added DemoAsTestRunner as new Junit4TestRunner for demos, so demos can now be run as unit tests w/o writing suites.
· Improved reliability of automatically taking screenshots.
· Removed dependency from disy-commons layout classes. This might have lead to incompatibility problems as soon as disy-commons is released a open source library.
· Removed direct dependency to the Java2Html library (used for displaying source code when running the swing demo runner outside Eclipse). It will still be used if the java2html.jar is on the classpath. Version 6.0 or greater required (not yet released, but an up-to-date milestone build is contained in the JDemo download pac...