1 / 115
文档名称:

酒店管理系统实现代码.doc

格式:doc   大小:282KB   页数:115页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

酒店管理系统实现代码.doc

上传人:tswng35 2019/3/10 文件大小:282 KB

下载得到文件列表

酒店管理系统实现代码.doc

相关文档

文档介绍

文档介绍://.*;.*;.*;;.*;lassA1extendsJFrameimplementsWindowListener{ //定义各个组件 JFrameframe=newJFrame("入住系统"); JLabelnameLabel=newJLabel("客户姓名"); JLabelidtifyLabel=newJLabel("身份证号"); JLabelroomLabel=newJLabel("入住房号"); JLabelmoneyLabel=newJLabel("应付金额"); JTextFieldnameField=newJTextField(); JTextFieldidtifyField=newJTextField(); JTextFieldroomField=newJTextField(); JTextFieldmoneyField=newJTextField(); JButtonbutton1,button2; /* publicstaticvoidmain(Stringargs[]) { A1a1=newA1(); (); }*/ publicvoidgo(){ UpperCaseDocumentucDocument=newUpperCaseDocument(); (ucDocument); (); //(this); (newActionListener() { publicvoidactionPerformed(ActionEvente) {Stringusername=(); } }); JComboBoxjcb1;//组合框 String[]itemList={"现金","刷卡"}; jcb1=boBox(itemList); (0); button1=newJButton("确认支付"); button2=newJButton("取消支付"); finalJPanelp1=newJPanel(); (jcb1); (button1); (button2); (newGridLayout(3,1)); Borderetched=(); Borderborder=(etched,"付款方式"); (border); (newActionListener() { publicvoidactionPerformed(ActionEvente) { if(()=="确认支付") { (p1, "支付成功","ess", ); } } } ); (newActionListener() { publicvoidactionPerformed(ActionEvente) { if(()=="取消支付") { (p1, "支付失败","failure", ); } } } ); (newActionListener() { publicvoidactionPerformed(ActionEvente) {Stringidtify=(); Stringidtifyword=newString(idtify); } }); (newActionListener() { publicvoidactionPerformed(ActionEvente) {Stringroom=();