




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
〃入住
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.border.Border;
importjavax.swing.text.*;
publicclassAlextendsJFrameimplementsWindowListener{
〃定义各个组件
JFrameframe=newJFrame("入住系统)
JLabelnameLabel=newJLabel("客户姓名");
JLabelidtifyLabel=newJLabel("身份证号");
JLabelroomLabel=newJLabel("入住房号)
JLabelmoneyLabel=newJLabel("应付金额)
JTextFieldnameField=newJTextFieldO;
JTextFieldidtifyField=newJTextField();
JTextFieldroomField=newJTextField();
JTextFieldmoneyField=newJTextField();
JButtonbuttonl,button2;
/*
publicstaticvoidmain(Stringargs[])
(
Alal=newAl();
al.go();
}
*/
publicvoidgo(){
UpperCaseDocumentucDocument=newUpperCaseDocument();
nameField.setDocument(ucDocument);
nameField.setForeground(Color.black);
//frame.addWindowListener(this);
nameField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringusername=nameField.getText();
)
});
JComboBoxjcbl;//组合框
StringlJitemList={“现金“,“刷卡“};
jcbl=newJComboBox(itemList);
jcb1.setSelectedlndex(O);
buttonl=newJButton("确认支付”);
button2=newJButton("取消支付)
finalJPanelpl=newJPanel();
pl.add(jcbl);
pl.add(buttonl);
pl.add(button2);
p1.setLayout(newGridLayout(3,l));
Borderetched=BorderFactory.createEtchedBorder();
Borderborder=BorderFactory.createTitledBorder(etched,"付款方式");
p1.setBorder(border);
button1.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="确认支付”)
{JOptionPane.showMessageDialog(p1,
”支付成功”「success”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
button2.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="取消支付“)
{JOptionPane.showMessageDiaIog(p1,
”支付失败;failure”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
idtifyField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringidtify=idtifyField.getText();
Stringidtifyword=newString(idtify);
)
));
roomField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringroom=roomField.getText();
Stringroomword=newString(room);
)
});
moneyField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringmoney=moneyField.getText();
Stringidtifyword=newString(money);
)
});
//面板labelPanel放标签
JPanellabelPanel=newJPanel();
labelPanel.setLayout(newGridLayout(4,l));
labelPanel.add(nameLabel);
labelPaneLadd(idtifyLabel);
labelPanel.add(roomLabel);
labelPanel.add(moneyLabel);
〃面板fieldPanel放文本框
JPanelfieldPanel=newJPanel();
fieldPanel.setLayout(newGridLayout(4,l));
fieldPanel.add(nameField);
fieldPanel.add(idtifyField);
fieldPanel.add(roomField);
fieldPanel.add(moneyField);
//面板northPanel放面板lanelPanel和面板fieldPanel
JPanelnorthPanel=newJPanel();
northPanel.setLayout(newGridLayout(l,2));
northPanel.add(labelPanel);
northPanel.add(fieldPanel);
Containercp=frame.getContentPane();
cp.add(northPanel,BorderLayout.NORTH);//northPanel放在north
cp.add(p1,BorderLayout.SOUTH);
frame.setSize(200,250);
frame.setVisible(true);
)
publicvoidwindowClosing(WindowEventel){
System.exit(O);
)
publicvoidwindowOpened(WindowEvente2){
)
publicvoidwindowIconified(WindowEvente3){
)
publicvoidwindowDeiconified(WindowEvente4){
)
publicvoidwindowClosed(WindowEvente5){
)
publicvoidwindowActivated(WindowEvente6){
publicvoidwindowDeactivated(WindowEvente7)(
classUpperCaseDocumentextendsPlainDocument
{publicvoidinsertString(intoffset,
Stringstring,AttributeSetattributeSet)
throwsBadLocationException
{string=string.toUpperCase();
super.insertString(offset,string,attributeSet);
)
)
第二个:〃退房
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.border.Border;
importjavax.swing.text.*;
publicclassA2extendsJFrame{
〃定义各个组件
JFrameframe=newJFrame("退房系统,
JLabelnameLabel=newJLabel("客户姓名”);
JLabelidtifyLabel=newJLabel("身份证号)
JLabelroomLabel=newJLabel("退房号)
JLabeltimeLabel=newJLabel(“退房时间”);
JTextFieldnameField=newJTextField();
JTextFieldidtifyField=newJTextField();
JTextFieldroomField=newJTextField();
JTextFieldtimeField=newJTextField();
JButtonbuttonl,button2;
//JTextAreata=newJTextArea(5,20);
/*
publicstaticvoidmain(Stringargs[])
(
A2a2=newA2();
a2.go();
)
*/
publicvoidgo(){
UpperCaseDocumentucDocument=newUpperCaseDocument。;
nameField.setDocument(ucDocument);
nameField.setForeground(Color.black);
nameField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringusername=nameField.getText();
}
});
buttonl=newJButton("是");
button2=newJButton("否");
finalJPanelpl=newJPanel();
pl.add(buttonl);
pl.add(button2);
pl.setLayout(newGridLayout(2,l));
Borderetched=BorderFactory.createEtchedBorder();
Borderborder=BorderFactory.createTitledBorder(etched,”是否结清消费账单
p1.setBorder(border);
button1.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()==',^M)
{JOptionPane.showMessageDialog(p1,
”谢谢您的大力支持!”「success”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
button2.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="否")
{JOptionPane.showMessageDialog(p1,
”请结清消费账单”「failure”,
JOptionPane.INFORMATION_MESSAGE);
);
idtifyField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringidtify=idtifyField.getText();
Stringidtifyword=newString(idtify);
)
));
roomField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringroom=roomField.getText();
Stringroomword=newString(room);
});
timeField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringtime=timeField.getText();
Stringtimeword=newString(time);
)
});
//面板labelPanel放标签
JPanellabelPanel=newJPanel();
labelPanel.setLayout(newGridLayout(4,l));
labelPanel.add(nameLabel);
labelPanel.add(idtifyLabel);
labelPanel.add(roomLabel);
labelPanel.add(timeLabel);
〃面板fieldPanel放文本框
JPanelfieldPanel=newJPanel();
fieldPanel.setLayout(newGridLayout(4,l));
fieldPanel.add(nameField);
fieldPanel.add(idtifyField);
fieldPanel.add(roomField);
fieldPanel.add(timeField);
//面板northPanel放面板lanelPanel和面板fieldPanel
JPanelnorthPanel=newJPanel();
northPanel.setLayout(newGridLayout(l,2));
northPanel.add(labelPanel);
northPanel.add(fieldPanel);
Containercp=frame.getContentPane();
cp.add(northPanel,BorderLayout.NORTH);//northPanel放在north
cp.add(p1,BorderLayout.SOUTH);
//frame.pack();
frame.setSize(200,230);
frame.setVisible(true);
)
I
classUpperCaseDocumentextendsPlainDocument
{publicvoidinsertString(intoffset,
Stringstring,AttributeSetattributeSet)
throwsBadLocationException
{string=string.toUppei-Case();
super.insertString(offset,string,attributeSet);
)
}
第三个:
〃客房预订
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.border.Border;
importjavax.swing.text.*;
publicclassA3extendsJFrame{
〃定义各个组件
JFrameframe=newJFrame(“客房预订");
JLabelnameLabel=newJLabel("预订人姓名");
JLabelnumberLabel=newJLabel("手机号)
JTextFieldnameField=newJTextField();
JTextFieldnumberField=newJTextField();
JRadioButtonrbl=newJRadioButton("来电预订”);
JRadioButtonrb2=newJRadioButton("预订)
JRadioButtonrb3=newJRadioButton(“电传预订”);
JRadioButtonrb4=newJRadioButton("预订)
JRadioButtonrb5=newJRadioButton("信函预订”);
JButtonbuttonl,button2;
/*
*publicstaticvoidmain(Stringargs[])
(
A3a3=newA3();
a3.go();
}
*/
publicvoidgo(){
UpperCaseDocumentucDocument=newUpperCaseDocument();
nameField.setDocument(ucDocument);
nameField.setForeground(Color.black);
nameField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringusername=nameField.getText();
)
));
JComboBoxjcb1;//组合框
String口itemList={”总统套房「双人间单人间”};
jcbl=newJComboBox(itemList);
jcbl.setSelectedlndex(O);
button1=newJButton(“是“);
button2=newJButton("否“);
finalJPanelpl=newJPanel();
pl.add(jcbl);
pl.add(buttonl);
pl.add(button2);
pl.setLayout(newGridLayout(3,l));
Borderetched=BorderFactory.createEtchedBorder();
Borderborder=BorderFactory.createTitledBorder(etched,”预订房类型)
p1.setBorder(border);
button1.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="是")
{JOptionPane.showMessageDialog(p1,
”客人预订成功:'success”,
JOptionPane.INFORMATION_MESSAGE);
);
button2.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="否")
{JOptionPane.showMessageDialog(p1,
”客人预订失败”「failure”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
JPanelp2=newJPanel();
p2.add(rbl);
p2.add(rb2);
p2.add(rb3);
p2.add(rb4);
p2.add(rb5);
p2.setLayout(newFlowLayout());
border=BorderFactory.createTitledBorder(etched,“预订方式”);
p2.setBorder(border);
//创立ButtonGroup按钮组,并在组中添加按钮
ButtonGroupgroup1=newButtonGroupO;
groupl.add(rbl);
groupl.add(rb2);
groupl.add(rb3);
groupl.add(rb4);
groupl.add(rb5);
numberField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringnumber=numberField.getText();
Stringnumberword=newString(number);
)
});
〃面板labelPanel放标签
JPanellabelPanel=newJPanel();
labelPaneLsetLayout(newGridLayout(2,l));
labelPanel.add(nameLabel);
labelPanel.add(numberLabel);
//面板fieldPanel放文本框
JPanelfieldPanel=newJPanel();
fieldPanel.selLayout(newGridLayout(2,l));
fieldPanel.add(nameField);
fieldPanel.add(numberField);
〃面板northPanel放面板lanelPanel和面板fieldPanel
JPanelnorthPanel=newJPanel();
northPanel.setLayout(newGridLayout(l,2));
northPanel.add(labelPanel);
northPanel.add(fieldPanel);
Containercp=frame.getContentPane();
cp.add(northPanel,BorderLayout.NORTH);//northPanel放在north
cp.add(p2,BorderLayout.CENTER);
cp.add(p1,BorderLayout.SOUTH);
frame.setSize(200,330);
frame.setVisible(true);
)
)
classUpperCaseDocumentextendsPlainDocument
{publicvoidinsertString(intoffset,
Stringstring,AttributeSetattributeSet)
throwsBadLocationException
{string=string.toUpperCase();
super.insertString(offset,string,attributeSet);
)
)
第四个
〃餐饮预订
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.border.Border;
importjavax.swing.text.*;
publicclassA4extendsJFrame{
〃定义各个组件
JFrameframe=newJFrame("餐饮预订)
JLabelnameLabel=newJLabel("预订人姓名)
JLabeltimeLabel=newJLabe1("预订消费时间”);
JTextFieldnameField=newJTextField();
JTextFieldtimeField=newJTextField();
JCheckBoxcbl=newJCheckBox("中餐)
JCheckBoxcb2=newJCheckBox("西餐”);
JCheckBoxcb3=newJCheckBox,'红酒");
JCheckBoxcb4=newJCheckBox。饮料)
JCheckBoxcb5=newJCheckBox。'甜点)
JCheckBoxcb6=newJCheckBox,'水果)
JButtonbuttonl,button2;
/*
publicstaticvoidmain(Stringargs[])
(
A4a4=newA4();
a4.go();
)
*/
publicvoidgo(){
UpperCaseDocumentucDocument=newUpperCaseDocument();
nameField.setDocument(ucDocument);
nameField.setForeground(Color.black);
nameField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringusername=nameField.getText();
//ta.append("\nUserName:u+username);
)
});
buttonl=newJButton("是");
button2=newJButton("否");
finalJPanelpl=newJPanel();
pl.add(buttonl);
pl.add(button2);
p1.setLayout(newGridLayout(3,l));
Borderetched=BorderFactory.createEtchedBorder();
Borderborder=BorderFactory.createTitledBorder(etched,“确认订餐");
p1.setBorder(border);
button1.addActionListener(newActionListener()
publicvoidactionPerformed(ActionEvente)
if(e.getActionCommand()=="是")
{JOptionPane.showMessageDialog(p1,
”订餐成功”「success”,
JOptionPane.INFORMATION_MESSAGE);
);
button2.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="否")
{JOptionPane.showMessageDialog(p1,
"订餐失败”,“failure”,
JOptionPane.INFORMATION_MESSAGE);
);
timeField.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringtime=timeField.getText();
Stringtimeword=newString(time);
)
});
JPanelp2=newJPanel();
p2.add(cbl);
p2.add(cb2);
p2.add(cb3);
p2.add(cb4);
p2.add(cb5);
p2.add(cb6);
Borderetched1=BorderFactory.createEtchedBorder();
Borderborder1=BorderFactory.createTitledBorder(etchedl,”预订内容”);
p2.setBorder(border1);
〃面板labelPanel放标签
JPanellabelPanel=newJPanel();
labelPanel.setLayout(newGridLayout(4,l));
labelPaneLadd(nameLabel);
labelPanel.add(timeLabel);
//面板fieldPanel放文本框
JPanelfieldPanel=newJPanel();
fieldPanel.setLayout(newGridLayout(4,l));
fieldPanel.add(nameField);
fieldPanel.add(limeField);
〃面板northPanel放面板lanelPanel和面板fieldPanel
JPanelnorthPanel=newJPanel();
northPanel.setLayout(newGridLayout(l,2));
northPanel.add(labelPanel);
northPanel.add(fieldPanel);
Containercp=frame.getContentPane();
cp.add(northPanel,BorderLayout.NORTH);//northPanel放在north
cp.add(p2,BorderLayout.CENTER);
cp.add(p1,BorderLayout.SOUTH);
frame.setSize(200,350);
frame.setVisible(true);
)
)
classUpperCaseDocumentextendsPlainDocument
{publicvoidinsertString(intoffset,
Stringstring,AttributeSetattributeSet)
throwsBadLocationException
{string=string.toUpperCase();
super.insertString(offset,string,attributeSet);
)
)
第五个:
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.border.Border;
importjavax.swing.text.*;
publicclassA5extendsJFrame{
〃定义各个组件
JFrameframe=newJFrame("订单管理”);
JLabelal=newJLabel("订单号)
JLabela2=newJLabel("订货名称)
JLabela3=newJLabel("收货地址”);
JLabela4=newJLabel(”应收金额”);
JLabela5=newJLabel("客户名称)
JLabela6=newJLabel("结算方式”);
JLabela7=newJLabel("经办人)
JTextFieldbl=newJTextField();
JTextFieldb2=newJTextField();
JTextFieldb3=newJTextField();
JTextFieldb4=newJTextField();
JTextFieldb5=newJTextField();
JTextFieldb6=newJTextField();
JTextFieldb7=newJTexlField();
JButtonbutton1,button2;
publicstaticvoidmain(Stringargs[])
(
A5al=newA5();
al.go();
)
publicvoidgo(){
UpperCaseDocumentucDocument=newUpperCaseDocument();
b1.setDocument(ucDocument);
bl.setForeground(Color.black);
b1.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringusername=bl.getText();
)
});
JComboBoxjcbl;〃组合框
StringlJitemList={"现金:'刷卡”};
jcbl=newJComboBox(itemList);
jcb1.setSelectedlndex(O);
buttonl=newJButton("确认收款)
button2=newJButton("取消收款”);
finalJPanelpl=newJPanel();
pl.add(jcbl);
pl.add(buttonl);
pl.add(button2);
p1.setLayout(newGridLayout(3,l));
Borderetched=BorderFactory.createEtchedBorder();
Borderborder=BorderFactory.createTitledBorder(etched,叫攵款方式“);
p1.setBorder(border);
button1.addActionListener(newActionListener()
(
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="确认收款")
{JOptionPane.showMessageDialog(p1,
”收款成功”:'success”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
button2.addActionListener(newActionListener()
publicvoidactionPerformed(ActionEvente)
(
if(e.getActionCommand()=="取消收款”)
{JOptionPane.showMessageDialog(p1,
”收款失败,「failure”,
JOptionPane.INFORMATION_MESSAGE);
)
)
)
);
bl.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringidtify=al.getText();
Stringidtifyword=newString(idtify);
)
});
b2.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringroom=a2.getText();
Stringroomword=newString(room);
)
});
b3.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringmoney=a3.getText();
Stringidtifyword=newString(money);
)
});
b4.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringmoney=a4.getText();
Stringidtifyword=newString(money);
)
));
b5.addActionListener(newActionListener()
{publicvoidactionPerformed(ActionEvente)
{Stringmoney=a5.getText();
Stringidtifyword=newString(money);
)
));
〃面板labelPanel放标签
JPanellabelPanel=newJPanel();
labelPanel.setLayout(newGridLayout(7,l));
labelPanel.add(al);
1abelPanel.add(a2);
labelPanel.add(a3);
labelPanel.add(a4);
labelPanel.add(a5);
labe!Panel.add(a6);
labelPanel.add(a7);
〃面板fieldPanel放文本框
JPanelfieldPanel=newJPanel();
fieldPanel.setLayout(newGridLayout(7,l));
fieldPanel.add(bl);
fieldPanel.add(b2);
fieldPanel.add(b3);
fieldPanel.add(b4);
fieldPanel.add(b5);
fieldPanel.add(b6);
fieldPanel.add(b7);
〃面板northPanel放面板lanelPanel和面板fieldPanel
JPanelnorthPanel=newJPanel();
northPanel.setLayout(newGridLayout(l,2));
northPanel.add(labelPanel);
northPanel.add(fieldPanel);
Containercp=frame.getContentPane();
cp.add(northPanel,BorderLayout.NORTH);//northPanel放在north
cp.add(p1,BorderLayout.SOUTH);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(200,250);
frame.setVisible(true);
)
}
classUpperCaseDocumentextendsPlainDocument
{publicvoidinsertString(intoffset,
Stringstring,AttributeSetattributeSet)
throwsBadLocationException
{string=string.toUppei,Case();
super.insertString(offset,string,attributeSet);
)
)
第六个:
importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;
importjavax.swing.text.*;
importjavax.swing.border.*;
publicclassF{
privateJFrameframe;
privateJButtonb1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13;
JTextAreata=newJTextArea(20,20);
JTextAreatb=newJTextArea(20,20);
publicstaticvoidmain(Stringargs[]){
Fthat=newF();
that.go();
)
voidgo(){
frame=newJFrame("客房检查”);
ContainercontentPane=frame.getContentPane();
JPanelPl=newJPanel();
Pl.setLayout(newGridLayoutO);
bl=newJButton(n101\n单人间)
b2=newJButton(n102\n单人间)
b3=newJButton("103\n单人间)
b4二newJButton("104\n单人间”);
b5=newJButton。105\n单人间)
b6=newJButton("201\n双人间)
b7=newJButton(n202\n双人间)
b8=newJButton("203\n双人间)
b9=newJButton(n204\n双人间)
bl0=newJButton("205\n双人间)
b11=newJButton("301\n总统套房)
bl2=newJButton(*'302\n总统套房");
b13=newJButton(n303\n总统套房)
bl.setBackground(Color.cyan);
b2.setBackground(Color.cyan);
b3.setBackground(Color.cyan);
b4.setBackground(Color.cyan);
b5.setBackground(Color.cyan);
b6.setBackground(Color.magenta);
b7.setBackground(Color.magenta);
b8.setBackground(Color.magenta);
b9.setBackground(Color.magenta);
b10.setBackground(Color.magenta);
bll.setBackground(Color.pink);
b12.setBackground(Color.pink);
bl3.setBackground(Color.pink);
Pl.add(bl);
Pl.add(b2);
Pl.add(b3);
Pl.add(b4);
Pl.add(b5);
Pl.add(b6);
Pl.add(b7);
Pl.add(b8);
Pl.add(b9);
Pl.add(blO);
Pl.add(bll);
Pl.add(bl2);
Pl.add(bl3);
tb.append("房间总数:13");
tb.append(M\n当前占用:”);
tb.append("\n当前可供:”);
Pl.add(tb);
ActionListeneral=newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(e.getActionCommand()=="101\n单人间"){
ta.setText(,H,);
JFrameframe=newJFrame("检查信息");
JPanelp2=newJPanel();
Containercp=frame.getContentPane();
ta.append(H\nI01房间是否清扫:”);
ta.append("\n101房间里是否有家具损坏:");
ta.append(M\nl01房间是否交足余额:”);
JButtona=newJButton("提交)
p2.add(a);
ActionListeneral=newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(e.getActionCommand()=="提交"){
JOptionPane.showMessageDialog(ta,
"提交成功,null,
JOptionPane.INFORMATION_MESSAGE);
)
)
);
a.addActionListener(al);
p2.add(ta);
p2.setBackground(Color.yellow);
frame.setContentPane(p2);
frame.pack();
frame.setVisible(true);
)
elseif(e.getActionCommand()=="102\n单人间"){
ta.setText(nn);
JFrameframe=newJFrame("检查信息”);
JPanelp2=newJPanel();
Containercp=frame.getContentPane();
ta.append("\nl02房间是否清扫:");
ta.append("\nl02房间里是否有家具损坏:”);
ta.append(n\nl02房间是否交足余额:”);
JButtona=newJButton("提交“);
p2.add(a);
ActionListeneral=newActionListener(){
publicvoidactionPerformed(ActionEvente){
if(e.getActionCommand()="提交"){
JOptionPane.showMessageDialog(ta,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 不执行合同范例
- 公寓融资合同标准文本
- 专业厨师带班合同标准文本
- 公寓合伙合同标准文本
- 入股股权类合同标准文本
- 加盟解除协议合同标准文本
- 企业形象设计咨询合同范例
- 初中化学课件2:3.1 分子和原子
- 初中化学课件1:7.2 燃料的合理利用与开发
- 大数据驱动的智慧城市建设与管理
- 北京版五年级数学下学期期中复习真题
- 心理咨询师专业技能培训课件
- 超星尔雅学习通《工程伦理(浙江大学)》2025章节测试答案
- 2025年驾驶三力测试题及答案
- 七年级体育导学案
- 中医情志调适在儿童的实践与应用
- 农产品电商农村电商供应链手册
- 儿童生长发育迟缓
- 2025年河南工业职业技术学院单招职业技能测试题库及参考答案
- 2025年国家公务员考试公共基础知识全真模拟试卷及答案(共七套)
- 2025年春新外研版(三起)英语三年级下册课件 Unit3第3课时Fuelup
评论
0/150
提交评论