Debug.init();
    public static void main(String[] args) {        String name = (args.length<1)?"com.bbn.openmap.layer.shape.ShapeLayer":args[0];        PropertyConsumer propertyconsumer = null;        try {            Class c = Class.forName(name);            propertyconsumer = (PropertyConsumer)c.newInstance();        } catch(Exception e) {            e.printStackTrace(); System.exit(1);        }                Properties props=new Properties(), info=new Properties();        System.out.println("Inspecting " + name);        String pp = name.substring(name.lastIndexOf(".") + 1);        propertyconsumer.setPropertyPrefix(pp.toLowerCase());        props = propertyconsumer.getProperties(props);        info = propertyconsumer.getPropertyInfo(info);                Inspector inspector = new Inspector();        inspector.setPrint(true);        inspector.addActionListener(inspector);        inspector.inspectPropertyConsumer(propertyconsumer);    }