JSnip

JSnip is a desktop Java application that makes it easy to store, manage and execute snippets of Java code. The snippets can be stored in a hierarchy, saved to a file and loaded from the file. Nodes can be added to the tree and removed from the tree at will. JSnip uses the Beanshell library to execute the snippets. Here is a screenshot:

Here is a second screenshot, showing data from the Java Developer's Almanac:

Here is the data (.SNP) file containing the Almanac content. It's an excellent reference for doing a lot of common activities in Java but are not always easily remembered, such as reading data from a file.

The application requires Java 5 to build and execute.

There is currently no help file, but there is tooltip text for most of the controls, so the interface should be easy to understand.

The application is available here (200K). To run, just download the file and either double-click the file (from an Explorer window) or enter the command "java -jar jsnip.jar" (from a command prompt).

Part of the code is copyright JGoodies Karsten Lentzsch. This is limited to portions of the GUI. The toolbar buttons came from the Java Look and Feel Graphics Repository.

The source code, build script, toolbar buttons and Beanshell library can be downloaded here. The source code is released under the MIT license (other than the JGoodies code).

ċ
almanac.snp
(838k)
Michael Wallace,
Jul 4, 2009, 11:49 AM
ċ
jsnip-src.zip
(216k)
Michael Wallace,
Jul 4, 2009, 11:52 AM
ċ
jsnip.jar
(207k)
Michael Wallace,
Jul 4, 2009, 11:51 AM
Comments