• 大小: 1.39MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-14
  • 语言: Java
  • 标签: java项目  

资源简介

java做的C/s架构的房产中介管理系统

资源截图

代码片段和文件信息



import java.awt.Color;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import com.hm.util.MyTools;

/**
 * 增加房源信息对话框
 * @author Administrator
 *
 */
public class HouseDialog extends JDialog{

private static final int W=787;
private static final int H=647;

/**
 * 初始化各种面板
 * 所有的面板都为无布局
 * pMain:主面板
 * pNo:房源编号
 * pStatus:房源情况
 * pZS:出租出售
 * pXX:房源详细信息面板
 */
private JPanel pMain pNopStatuspZSpXX;
{
pMain=new JPanel();
pNo=new JPanel();
pZS=new JPanel();
pXX=new JPanel();
pStatus=new JPanel();

pMain.setLayout(null);
// pNo.setLayout(null);
// pStatus.setLayout(null);
// pZS.setLayout(null);
// pXX.setLayout(null);
}

/**
 * 初始化所有标签
 * 
 */
private JLabel fybhfclydqztzygw
   wymcwyytwylxzxcd
   jtdzszqyjcnf
   hxjgshitingweiyangtaifxjzmjzcscengweiyu
   jcssptss;

{
//这是一行
fybh=new JLabel(“房源编号“);
fcly=new JLabel(“房产来源“);
dqzt=new JLabel(“当前状态“);
zygw=new JLabel(“置业顾问“);
//这是一行
wymc=new JLabel(“物业名称“);
wyyt=new JLabel(“物业用途“);
wylx=new JLabel(“物业类型“);
zxcd=new JLabel(“装修程度“);
//这是一行
jtdz=new JLabel(“具体地址“);
szqy=new JLabel(“所在区域“);
jcnf=new JLabel(“建成年份“);
//这是一行
hxjg=new JLabel(“户型结构“); 
shi=new JLabel(“室“);
ting=new JLabel(“厅“);
wei=new JLabel(“卫“);
yangtai=new JLabel(“阳台“);
fx=new JLabel(“房型“);
jzmj=new JLabel(“建筑面积“);
zcs=new JLabel(“总层数“);
ceng=new JLabel(“层“);
weiyu=new JLabel(“位于“);
jcss=new JLabel(“基础设施“);
ptss=new JLabel(“配套设施“);


 
}

/**
 * l1l2l3l4; 标签
 * tfHno:房源编号
 * Hsource:房源来源
 * Hstatus:当前状态
 * Hadviser:置业顾问
 */
private String Hno=“FC“; 
private JLabel l1l2l3l4; //标签
private JTextField tfHnoHadviser;;
private JComboBox HsourceHstatus;
private DefaultComboBoxModel hsourceModelstatusModeladviserModel;

/**
 * 设置pNo面板
 */
public void setPno(){


tfHno=new JTextField(12);
Hsource=new JComboBox();
Hstatus=new JComboBox();
hsourceModel=new DefaultComboBoxModel();
statusModel=new DefaultComboBoxModel();
Hsource.setModel(hsourceModel);
Hstatus.setModel(statusModel);
hsourceModel.addElement(“来访“);
hsourceModel.addElement(“来电“);
hsourceModel.addElement(“网络“);
hsourceModel.addElement(“介绍“);
hsourceModel.addElement(“拜访“);
statusModel.addElement(“正常状态“);
statusModel.addElement(“已经成交“);
statusModel.addElement(“保留状态“);
statusModel.addElement(“已经失效“);
Hadviser=new JTextField(10);
pNo.add(l1);
pNo.add(tfHno);
pNo.add(l2);
pNo.add(Hsource);
pNo.add(l3);
pNo.add(Hstatus);
pNo.add(l4);
pNo.add(Hadviser);
}

private JButton savecancel;
/**

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

     文件        582  2012-12-17 10:39  HouseMedium\.classpath

     文件        387  2012-12-13 21:21  HouseMedium\.project

     文件        629  2012-12-13 21:21  HouseMedium\.settings\org.eclipse.jdt.core.prefs

     文件       1352  2012-12-29 12:47  HouseMedium\bin\com\hm\action\AddTiXingAction.class

     文件        844  2012-12-31 21:24  HouseMedium\bin\com\hm\action\ChangeLogin.class

     文件       2088  2012-12-31 21:05  HouseMedium\bin\com\hm\action\DeleteKeHuAction.class

     文件        971  2012-12-29 12:47  HouseMedium\bin\com\hm\action\ExitSys.class

     文件       2575  2012-12-29 12:47  HouseMedium\bin\com\hm\action\HouseDeleteAction.class

     文件       1610  2013-01-02 20:13  HouseMedium\bin\com\hm\action\HouseXiuGaiAction.class

     文件       1570  2012-12-30 22:02  HouseMedium\bin\com\hm\action\newClientAction.class

     文件       1847  2012-12-30 20:25  HouseMedium\bin\com\hm\action\NewHouseSourceAction.class

     文件       2823  2012-12-29 12:47  HouseMedium\bin\com\hm\action\QianYueAction.class

     文件       2047  2013-01-03 11:05  HouseMedium\bin\com\hm\action\QianYueShanChu.class

     文件       2137  2013-01-03 10:41  HouseMedium\bin\com\hm\action\QianYueXiuGai.class

     文件       2673  2012-12-29 15:46  HouseMedium\bin\com\hm\action\ShanChuTiXingAction.class

     文件        687  2012-12-29 12:47  HouseMedium\bin\com\hm\action\XiuGaiHouseSource.class

     文件       1543  2012-12-31 20:37  HouseMedium\bin\com\hm\action\XiuGaiKeHuAction.class

     文件       1635  2012-12-29 15:19  HouseMedium\bin\com\hm\action\XiuGaiTiXingAction.class

     文件       1198  2012-12-29 21:26  HouseMedium\bin\com\hm\auth\AuthManager.class

     文件       4901  2012-12-29 12:47  HouseMedium\bin\com\hm\ctrl\WorkCtrl.class

     文件        259  2012-12-29 12:47  HouseMedium\bin\com\hm\dbconn\DB.class

     文件       3406  2012-12-29 12:47  HouseMedium\bin\com\hm\dbconn\DBHelper.class

     文件       2991  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$1.class

     文件       1727  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$10.class

     文件       1770  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$11.class

     文件       2353  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$12.class

     文件       1700  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$13.class

     文件       2186  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$14.class

     文件       1158  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$15.class

     文件       1169  2013-01-02 21:09  HouseMedium\bin\com\hm\face\HMFace$16.class

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

评论

共有 条评论