_openFileChooser = new JMenuItem("Add Shape File");
_openFileChooser.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileFilter(new EsriFilter());
int returnVal = fileChooser.showOpenDialog(null);
if (returnVal == JFileChooser.APPROVE_OPTION) {
try {
File shp = fileChooser.getSelectedFile();
String s = shp.getCanonicalPath();
int pos1 = s.lastIndexOf('.');