|
|
@ -1,7 +1,5 @@
|
|
|
|
#xyct
|
|
|
|
#xyct
|
|
|
|
/**
|
|
|
|
/*起始页面,收取顾客联系电话和就餐人数信息并点击点餐后跳转CustomerOrderWindow页面*/
|
|
|
|
* 起始页面,收取顾客联系电话和就餐人数信息并点击点餐后跳转CustomerOrderWindow页面
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public class CustomerIndex extends JFrame implements ActionListener {
|
|
|
|
public class CustomerIndex extends JFrame implements ActionListener {
|
|
|
|
Image image;
|
|
|
|
Image image;
|
|
|
|
JPanel jp,jp_phone,jp_person;
|
|
|
|
JPanel jp,jp_phone,jp_person;
|
|
|
@ -45,9 +43,7 @@ public class CustomerIndex extends JFrame implements ActionListener {
|
|
|
|
|
|
|
|
|
|
|
|
this.add(jp);
|
|
|
|
this.add(jp);
|
|
|
|
this.setSize(500, 500);
|
|
|
|
this.setSize(500, 500);
|
|
|
|
/**
|
|
|
|
/*确定JWindow的初始位置*/
|
|
|
|
* 确定JWindow的初始位置
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
this.setLocationRelativeTo(null);
|
|
|
|
this.setLocationRelativeTo(null);
|
|
|
|
this.setVisible(true);
|
|
|
|
this.setVisible(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|