DESMO-J is a framework for rapidly building discrete event driven simulation models in Java, which is not restrained to any particular domain of application. It supports both event-oriented and process-oriented modelling views. See http://desmoj.de.
Theba is a plugin-based image analysis framework for segmentation of and measurements on 3D and 2D images. Theba has a nice GUI that allows inspection and manipulation of the image and a wide range of plugins including segmentation.