资源简介

再说明一点,大家别再下载我以前上传的农场,下这个完整版的。欢迎大家宣传。以下是安装步骤: 1.把文件NetBeansProjects放到D盘下面 2.把农场数据库附加入你的SQL SERVER 2005 3.用NetBeans把项目导入进去(不知道是否可以用MyEclipse,我没试过。我们使用netBeans开发工具写的) 4.进入项目后把com.icss.happyfarm.util目录下的DBUtil.java和UpDateUtil.java下的用户名和密码改成和你的SQL SERVER 2005登陆用户名与密码 5.运行loginFrame.java文件 6.按步骤说明来,还不行就把电脑砸了吧.........

资源截图

代码片段和文件信息

/*
 * To change this template choose Tools | Templates
 * and open the template in the editor.
 */

package com.icss.happyfarm.bean;

import javax.swing.JLabel;

/**
 *装饰类
 * @author Administrator
 */
public class Decorate extends JLabel implements Products{

    private String decorateId;    //装饰编号    !!
    private String decorateName;   //装饰名称
    private int decoratePrice;     //装饰价格
    private String decoratePicture;   //装饰图片
    private int isUsed;   //用0表示未用,1表示已用  !!
    private int decorateType;   //用0背景,1房子,2表示狗窝,3表示栅栏,4表示告示牌  !!

    public Decorate(String decorateId String decoratePictureint decoratePrice) {
        this.decorateId = decorateId;
        this.decoratePicture = decoratePicture;
        this.decoratePrice = decoratePrice;
    }

    @Override
    public boolean equals(object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Decorate other = (Decorate) obj;
        if ((this.decorateId == null) ? (other.decorateId != null) : !this.decorateId.equals(other.decorateId)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 29 * hash + (this.decorateId != null ? this.decorateId.hashCode() : 0);
        return hash;
    }
   
    public String getDecorateId() {
        return decorateId;
    }

    public void setDecorateId(String decorateId) {
        this.decorateId = decorateId;
    }

    public String getDecorateName() {
        return decorateName;
    }

    public void setDecorateName(String decorateName) {
        this.decorateName = decorateName;
    }

    public String getDecoratePicture() {
        return decoratePicture;
    }

    public void setDecoratePicture(String decoratePicture) {
        this.decoratePicture = decoratePicture;
    }

    public int getDecoratePrice() {
        return decoratePrice;
    }

    public void setDecoratePrice(int decoratePrice) {
        this.decoratePrice = decoratePrice;
    }

    public int getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(int isUsed) {
        this.isUsed = isUsed;
    }

    public int getDecorateType() {
        return decorateType;
    }

    public void setDecorateType(int decorateType) {
        this.decorateType = decorateType;
    }


}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    3145728  2010-05-04 16:53  java做开心农场完整版\happy_farm.mdf

     文件    1048576  2010-05-04 16:53  java做开心农场完整版\happy_farm_log.ldf

     文件          0  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\.netbeans_automatic_build

     文件       2295  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Decorate.class

     文件       1137  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Dog.class

     文件       2397  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Fruit.class

     文件        115  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Goods.class

     文件       1298  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\House.class

     文件       1005  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Log.class

     文件       1352  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Muck.class

     文件        121  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Products.class

     文件       4058  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Seed.class

     文件       2904  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\Tools.class

     文件       1021  2010-04-07 08:57  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\bean\WareHouse.class

     文件       8320  2010-05-07 15:11  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\Crop.class

     文件       1846  2010-04-08 16:58  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\DroughtLand.class

     文件       1476  2010-04-08 15:29  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\FlyThread.class

     文件       2835  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\Glass.class

     文件       5117  2010-05-07 15:11  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\Land.class

     文件       2872  2010-05-07 15:11  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\User.class

     文件       2126  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\Weather.class

     文件       2840  2010-04-07 18:19  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\stype\Worm.class

     文件       1009  2010-04-09 09:07  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\AbolishExpectDialog$1.class

     文件        861  2010-04-09 09:07  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\AbolishExpectDialog$2.class

     文件        813  2010-04-09 09:07  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\AbolishExpectDialog$3$1.class

     文件       1363  2010-04-09 09:07  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\AbolishExpectDialog$3.class

     文件       4758  2010-04-09 09:07  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\AbolishExpectDialog.class

     文件        784  2010-04-09 11:22  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\BagPanel$1.class

     文件        784  2010-04-09 11:22  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\BagPanel$2.class

     文件       1697  2010-04-09 11:22  java做开心农场完整版\NetBeansProjects\HappyFarm\build\classes\com\icss\happyfarm\ui\BagPanel$LeftAndRight.class

............此处省略627个文件信息

评论

共有 条评论