private void debugSetGoods(Colony colony) {
        Specification spec = getSpecification();
        List<ChoiceItem<GoodsType>> gtl
            = new ArrayList<ChoiceItem<GoodsType>>();
        for (GoodsType t : spec.getGoodsTypeList()) {
            if (t.isFoodType() && t != spec.getPrimaryFoodType()) continue;
            gtl.add(new ChoiceItem<GoodsType>(Messages.message(t.toString() + ".name"),
                                              t));
        }
        GoodsType goodsType = getGUI().showChoiceDialog(null, "Select Goods Type",
                                                      "Cancel", gtl);
        if (goodsType == null) return;
        String amount = getGUI().showInputDialog(null,
                StringTemplate.name("Select Goods Amount"),
                Integer.toString(colony.getGoodsCount(goodsType)),
                "ok", "cancel", true);
        if (amount == null) return;
        int a;
        try {
            a = Integer.parseInt(amount);
        } catch (NumberFormatException nfe) {
            return;
        }
        GoodsType sGoodsType = getFreeColClient().getFreeColServer()
            .getSpecification().getGoodsType(goodsType.getId());
        GoodsContainer cgc = colony.getGoodsContainer();
        GoodsContainer sgc = getFreeColClient().getFreeColServer()
            .getGame().getFreeColGameObject(cgc.getId(), GoodsContainer.class);
        cgc.setAmount(goodsType, a);
        sgc.setAmount(sGoodsType, a);
        updateConstructionPanel();
        updateProductionPanel();
        updateWarehousePanel();
    }