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.
- Start ArcCatalog.
- Add and start a map server object in ArcGIS Server.
- Use ArcGIS Server Manager to build and deploy a Web service catalog from a MapServer-type geographic information system (GIS) service.
- Enable the map, query, and data capabilities for the service catalog.
- Configure your Java platform for ArcGIS Engine.
- Navigate to the GisClientApp directory (in Windows, open a Command Prompt window and cd to GisClientApp).
- Type arcgisant run-sample at the command prompt to run the application.
- Click the Load Data button to connect to an ArcGIS Server map server object. The Server Connection dialog box opens.
- Choose Internet or LAN from the Connection Type drop-down box (depending on your type of connection).
- In Catalog URL, type in the universal resource locator (URL) of an ArcGIS Web catalog service (such as http://gisserver:8399/myservice/catalog) or type the host name of a local ArcGIS server.
- Click the Connect button. The drop-down box is populated with the available map server objects.
- Select a map server object and click Add Map. The map service is added to your application.
Download the files for Java
scenario/toc/CheckBoxPanel.java | Utility class |
scenario/ConnectionDialog.java | Utility class |
scenario/map/Display.java | Utility class |
scenario/map/DrawTool.java | Utility class |
scenario/map/Envelope1.java | Utility class |
scenario/GisClientApp.java | Main class. Open the Server Connection dialog box to connect to a Web service hosted by ArcGIS Server. |
scenario/map/IdentifyDialog.java | Utility class |
scenario/map/IdentifyInfo.java | Utility class |
scenario/map/ImagePainter.java | Utility class |
scenario/map/InternetConnectionInfo.java | Utility class |
scenario/toc/LabelPanel.java | Utility class |
scenario/map/LANConnectionInfo.java | Utility class |
scenario/map/LayerInfo.java | Utility class |
scenario/toc/LayerNode.java | Utility class |
scenario/map/MapServerConnectionInfo.java | Utility class |
scenario/MapActions.java | Utility class |
scenario/map/MapComponent.java | Utility class |
scenario/toc/MapFrameNode.java | Utility class |
scenario/map/MapInfo.java | Utility class |
scenario/toc/Node.java | Utility class |
scenario/toc/TocControl.java | Utility class |
scenario/toc/TocTreeRenderer.java | Utility class |
scenario/ToolBar.java | Utility class |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |