Showing posts from June, 2012

Talking to Swing

We recently saw the need to create an interface to an older Java Swing application.  We don't have access to the backend and currently there is no standards-based interface (e.g. web services) or immediate plans to create one.

The application in question was designed for and is delivered with Java 1.3.  This fact limited the possibilities of using off-the-shelf or even pieces of other open source solutions such as Swing testing code.

Ultimately we decided to create Swingomatic.  The code is still in development but it is working well enough to consider it viable.  The architecture involves the use of an older release of the Java Accessibility and a mini HTTP server which accepts a string of component instructions as an XML string.

The project is maven based.  It includes a client library which allows a Swingomatic client to be built in a current version of Java.