I've spent some time wrapping up a little project to strip OpenJUMP
down to its bare bones. The result is a very simple and pluggable
program with a Swing GUI. It is so simple that you can't really call
it a "rich client platform". It is more like a "modest client
platform".

My goal with this little project was to take the best parts of
OpenJUMP and move them to a platform that I could use to quickly write
other graphical tools and utilities. (I didn't want to mess with
Eclipse or Netbeans RCP for this, because they were too complex for my
needs and would take to much time to learn.)

I'm calling this little project the Simple Pluggable Swing Program, or
SPSP for short.

It is basically the OpenJUMP plug-in framework with some tweaks,
wrapped in a Swing shell that features a dockable/tabbed window
framework. The current version also has some experimental systems
integration testing code in it.

To build an application on top of SPSP you just write your plug-in
(which in most cases would add a tab to the main GUI) and drop the
plug-in jar in the lib/ext directory of the SPSP installation folder.
(If your plug-in depends on third party libraries, you need to add it
to the class path.) This is very similar to how plug-ins are
intstalled with OpenJUMP.

The whole installation folder zipped up (including the docking windows
framework library) is only 700 KB.

In the next release I hope to allow the plug-in programmer to add a
splash screen image and change the name of the main JFrame title bar
with no need to recompile source code. I also hope to test the menu
system. (Plug-ins can add menu items.)

You can find the source code on the SurveyOS Project SVN:
http://surveyos.svn.sourceforge.net/viewvc/surveyos/java/simple_pluggable_swing_program/

The code still needs some clean-up and javadoc comments. :]

You can download the distro here:
https://sourceforge.net/projects/surveyos/files/

You want the SPSP.zip file. To execute the distro you need to double
click the batch file in the lib folder. (This batch file will get
moved to the exe folder at some point.)

Please note that this is a very buggy, unstable release, and it has
only been tested on Windows XP. (I will support the program on Linux
at some point.)

 I hope to bolt a simple feature metadata manager on top of the
platform soon, so at least you guys can see how to build on top of it.

I will also ultimately try to move improvements to SPSP back into the
OpenJUMP code base. This will include some improvements to the plug-in
system, a cleaner separation of the GUI from the rest of the core, and
possibly some system integration testing.

I will NOT be trying to integrate the docking framwork, since that was
already discussed and voted down.

Of course, I will run all of my changes by this list for discussion
before commiting anything. (I'm not sure how many people are still
listening, but maybe a few are.) :]

I hope some of you can use SPSP for your own tools. If you are used to
writing OpenJUMP plug-ins, you should like SPSP. :]

The Sunburned Surveyor

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to