Swingcorder Frequently Asked Questions (FAQ)

is a tool that allows you to record user keyboard and mouse input to a Java application that uses Swing components, to record that input as a "script", and to execute the script in order to programmatically duplicate the original input.

is primarily intended to be used to assist in testing Swing application code, but can be used in other ways, such as providing tutorials or sophisticated help systems that demonstrate how to use parts of a system.

can be used in two ways:

  • Within an integrated development environment (IDE) through a plugin.
  • Outside of an integrated development environment using a Java Archive (JAR) file.

Currently the only available plugin is for Eclipse versions 3.6 (Helios) and later.

Generated scripts are stored as Java applications that invoke functions to recreate the recorded user input.

Yes. The public application programming interface (API) is fully documented and you are encouraged to create your own scripts or modify the generated ones as necessary.

supports the recording and playback of scripts using Java 1.6 and later releases. The code in generated scripts is compatible with Java 1.6 and can be compiled using that release or any later one.

currently supports the following look and feel implementations:

  • Metal
  • Windows
  • Motif
  • Synth
  • Nimbus
  • GTK

is written entirely in Java and is not platform-specific. However, we currently only provide commercial support for its use on Windows and Linux.

In general, yes. Scripts are not explicitly tied to a specific look and feel, but not every look and feel supports the same set of functionality. For example, the Metal look and feel's JFileChooser allows you to rename files, but the Motif look and feel's implementation does not. If you record a script using Metal and that script includes the renaming of a file, the script will fail with an UnsupportedOperationException when it tries to perform the rename using a Motif file chooser.

However, most functionality is available on all supported look and feel implementations, which means that a typical script will be portable across all supported look and feels.

Yes, Swingcorder allows you to pause and resume script playback and to terminate it completely. To pause playback simply press the Pause key on your keyboard. Once the script is paused, its execution can be resumed by pressing Pause again.

Alternatively, you can terminate a script with Shift+Pause; that is, pressing Pause while the Shift key is also being held down.

No, is a commercial application and a license is required to use it legally.

Yes, we provide evaluation licenses upon request that allow you to use for a limited amount of time. To request an evaluation license, please contact our sales team at sales@kandor.com.

We provide free access to our web site forum, where anyone can register to ask questions and report problems. We also offer an annual support contract for license purchasers who need a superior level of support and who want to receive product upgrades.