您所在位置: 网站首页 / 基于java航空售票系统(范文).docx / 文档详情
基于java航空售票系统(范文).docx 立即下载
2025-08-26
约5.7万字
约74页
0
28KB
举报 版权申诉
预览加载中,请您耐心等待几秒...

基于java航空售票系统(范文).docx

基于java航空售票系统(范文).docx

预览

免费试读已结束,剩余 69 页请下载文档后查看

10 金币

下载文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

基于java航空售票系统(范文)

第一篇:基于java航空售票系统(范文)publicFlightBook()//构造函数{super(“航空订票”);this.setSize(600,400);this.setLocation(300,240);this.setResizable(false);this.setVisible(true);this.setLayout(newBorderLayout());JPanelpanel=newJPanel(newGridLayout(11,1));this.add(panel,BorderLayout.WEST);this.setBackground(Color.blue);button_ask=newJButton(“查询”);panel.add(button_ask);button_ask.addActionListener(this);button_book=newJButton(“订票”);panel.add(button_book);button_book.addActionListener(this);button_cancel=newJButton(“退票”);panel.add(button_cancel);button_cancel.addActionListener(this);text_user=newJTextArea();this.add(text_user,BorderLayout.CENTER);frame_cx=newJFrame(“输入”);//查询输入框frame_cx.setSize(280,120);frame_cx.setResizable(false);frame_cx.setBackground(Color.LIGHT_GRAY);frame_cx.setLayout(newFlowLayout());frame_cx.add(newJLabel(“终点站:”));text_field1=newJTextField(20);frame_cx.add(text_field1);button_ok1=newJButton(“ok”);frame_cx.add(button_ok1);button_ok1.addActionListener(this);frame_cx.addWindowListener(this);frame_dp=newJFrame(“输入”);//订票输入框frame_dp.setSize(350,150);frame_dp.setResizable(false);frame_dp.setBackground(Color.LIGHT_GRAY);frame_dp.setLayout(newFlowLayout());frame_dp.add(newJLabel(“航班号:”));text_field2=newJTextField(20);frame_dp.add(text_field2);frame_dp.add(newJLabel(“订票数:”));text_field3=newJTextField(20);frame_dp.add(text_field3);button_ok2=newJButton(“确定”);frame_dp.add(button_ok2);button_ok2.addActionListener(this);frame_dp.addWindowListener(this);frame_tp=newJFrame(“输入”);//退票输入框frame_tp.setSize(350,150);frame_tp.setResizable(false);frame_tp.setBackground(Color.LIGHT_GRAY);frame_tp.setLayout(newFlowLayout());frame_tp.add(newJLabel(“日期:”));text_field4=newJTextField(20);frame_tp.add(text_field4);frame_tp.add(newJLabel(“航班号:”));text_field5=newJTextField(20);frame_tp.add(text_field5);button_ok3=newJButton(“正确”);frame_tp.add(button_ok3);button_ok3.addActionListener(this);frame_tp.addWindowListener(this);dialog_cx=newJDialog(this,“提示”,true);//提示查询输入航线未开通错误dialog_c
查看更多
单篇购买
VIP会员(1亿+VIP文档免费下)

扫码即表示接受《下载须知》

基于java航空售票系统(范文)

文档大小:28KB

限时特价:扫码查看

• 请登录后再进行扫码购买
• 使用微信/支付宝扫码注册及付费下载,详阅 用户协议 隐私政策
• 如已在其他页面进行付款,请刷新当前页面重试
• 付费购买成功后,此文档可永久免费下载
全场最划算
12个月
199.0
¥360.0
限时特惠
3个月
69.9
¥90.0
新人专享
1个月
19.9
¥30.0
24个月
398.0
¥720.0
6个月会员
139.9
¥180.0

6亿VIP文档任选,共次下载特权。

已优惠

微信/支付宝扫码完成支付,可开具发票

VIP尽享专属权益

VIP文档免费下载

赠送VIP文档免费下载次数

阅读免打扰

去除文档详情页间广告

专属身份标识

尊贵的VIP专属身份标识

高级客服

一对一高级客服服务

多端互通

电脑端/手机端权益通用