public void run(Console cons, String[] args) {
                if (args.length >= 2) {
                    Class<? extends Camera> ct = camtypes.get(args[1]);
                    String[] cargs = new String[args.length - 2];
                    System.arraycopy(args, 2, cargs, 0, cargs.length);
                    if (ct != null) {
                        try {
                            MapView.this.cam = makecam(ct, cargs);
                            Utils.setpref("defcam", args[1]);
                            Utils.setprefb("camargs", Utils.serialize(cargs));
                        } catch (ClassNotFoundException e) {
                            throw (new RuntimeException("no such camera: "
                                    + args[1]));
                        }
                    } else {
                        throw (new RuntimeException("no such camera: "
                                + args[1]));
                    }
                }
            }