MarvinSketch Example 1.3

The sketcher can have an "alternative look" with a vertical toolbar.

In the AWT applet, the edit buttons are moved to the left side of the applet, but the template buttons remain on the top. In Swing, all the buttons are moved to the left.

In AWT, the user can restore the default look by releasing the button with the arrow pointing down. In Swing, the toolbar can be dragged and moved to any of the four edges of the applet.

<script LANGUAGE="JavaScript1.1" SRC="../../marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
msketch_begin("../..", 460, 420);
msketch_param("verticalbar", "true");

The next example shows how to how to set which atoms and bonds users are allowed to draw.