MarvinView

  • MarvinView Simple Bean:
    Creates a single-cell MarvinView bean component.

  • MarvinView In JTable:
    Loads multiple molecules from a file and displays them in a JTable using MarvinView as the renderer of Molecule cells.

  • MarvinView Table View:
    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.

    1. Table View with Parameters:
      Loads multiple molecules from a file into memory, then displays them using MarvinView's scrollable multi-cell molecule matrix mode.

    2. CustomMenuExample: Customize the menu of MarvinView.

    3. MViewPopupExample: A viewer example with a customized popup menu.

    4. MViewExampleWithCheckbox: Demonstrates the handling of action and item events.

    5. MViewSaveProperties: Demonstrates how to save Marvin properties.

  • Swing Components

    1. JFileChooser accessory component Marvin as a custom accessory component of a file chooser to provide preview to molecule files.

    2. DialogLauncher: Launches a sketcher or a viewer from a dialog window.

  • Events

    1. SketchEventTest: Shows the fired events of the sketcher.

    2. ViewEventTest: This viewer example logs the fired events of the viewer.

    3. MolChangedEventExample: Howto listen the modifying of the structure in the editor.