How to use
See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
- Run the UseMapTOCToolbarBeans application.
- Browse to and open an MXD file.
- Use the commands on the toolbar to pan and zoom the map.
- To add tools to the toolbar, edit the source code as follows: <br/>toolbarControl.addItem( Object command, int subtype, int index, boolean beginGroup, int groupSpacing, int style );
Download the files for Java
mapbean/UseMapTOCToolbarBeans.java | Main class |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |