The examples having bolded links below contain additional description of the example.
MarvinSketch
Creates a MarvinSketch bean and shows getting and setting molecules.
Creates an image from the contents of the MarvinSketch canvas.
Example of R-group visibility parameters.
Customizing structure templates used in MarvinSketch.
Creating a text box containing formatted text.
MarvinView
Creates a single-cell MarvinView bean component.
Loads multiple molecules from a file and displays them in a JTable using MarvinView as the renderer of Molecule cells.
Displays a molecule file in MarvinView using a scrollable molecule table.
Molecules are loaded dynamically and cached automatically, hence arbitrary size files are supported.
Lower level ways for creating molecule tables.
In these examples, all molecules are loaded in advance, hence the table size is limited by the available memory.
Loads multiple molecules from a file into memory, then displays them using MarvinView's scrollable multi-cell molecule matrix mode.
CustomMenuExample: Customize the menu of MarvinView.
MViewPopupExample: A viewer example with a customized popup menu.
MViewExampleWithCheckbox: Demonstrates the handling of action and item events.
MViewSaveProperties: Demonstrates how to save Marvin properties.
Swing Components
JFileChooser accessory component:
Marvin as a custom accessory component of a file chooser to provide preview to molecule files.
Launches a sketcher or a viewer from a dialog window.
Events
SketchEventTest.java.txt Shows the fired events of the sketcher.
ViewEventTest.java.txt This viewer example logs the fired events of the viewer.
MolChangedEventExample.java.txt: Howto listen the modifying of the structure in the editor.
SimpleConverter.java.txt: Converts the specified molecule file into the required file format.
JSP Image Generation: A JSP example to create an image from a molecule structure and display it in the browser.
Excelsheet Generation: A JSP example to create an Excel Sheet with Marvin generated structure images and structure data.
Using Calculator Plugins via API: general overview that shows how calculator plugins can be used via API.
Plugin API usage examples can be found in the API doc headers of the corresponding plugin classes.
Protonation
Partitioning
Charge
Isomers
Conformation
Geometry
Solubility Prediction
NMR Prediction
Other
Concurrent plugin examples: examples which show concurrent usage of calculator plugins.
Custom plugin implementation: custom calculator plugin implementation and test application.