• 大小: 42.98 KB
    文件类型: .rar
    金币: 1
    下载: 1 次
    发布日期: 2024-10-04
  • 语言: Java
  • 标签: java  飞机订票  

资源简介

一个用java实现 的飞机订票系统,超级好用....

资源截图

代码片段和文件信息

package com.zhu.server;
import javax.imageio.ImageIO;
import javax.swing.*;

import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
import java.io.IOException;

public class Helpframe extends Jframe{
private JPanel[] jps;
private Image[] images;
public Helpframe(){
super(““);
jps=new JPanel[18];
images=new Image[18];
init();
}
private void init(){
//setLayout(new GridLayout(181));
for(int i=0;i<18;i++){

try {
images[i]=ImageIO.read(new File(“images“+File.separator+“ץͼ“+(i+1)+“.png“));
} catch (IOException e) {
e.printStackTrace();
}
jps[i]=new ImagePanel(images[i]);
}
add(jps[17]);
}
public void showMe(){
this.setDefaultCloseOperation(Jframe.DO_NOTHING_ON_CLOSE);
this.setSize(900600);
this.setVisible(true);
}

}
class ImagePanel extends JPanel{
Image image;
public ImagePanel(Image image){
this.image=image;
}
public void paintComponet(Graphics g){
super.paintComponent(g);
if(image==null)return ;
g.drawImage(image 0 0 null);
}
}

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

     文件       1158  2008-06-10 16:06  zhutingfa\com\zhu\server\Helpframe.java

     文件        698  2008-06-10 16:06  zhutingfa\com\zhu\server\ImagePanel.class

     文件       1665  2008-06-10 16:06  zhutingfa\com\zhu\server\OrderListPanel.class

     文件        757  2008-06-10 16:06  zhutingfa\com\zhu\server\OrderListPanel.java

     文件       1048  2008-06-10 16:06  zhutingfa\com\zhu\server\OrderTableModel$OrderDateComparetor.class

     文件       3110  2008-06-10 16:06  zhutingfa\com\zhu\server\OrderTableModel.class

     文件       2049  2008-06-10 16:06  zhutingfa\com\zhu\server\OrderTableModel.java

     文件       2917  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveAgentDialog.class

     文件       1572  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveAgentDialog.java

     文件       4969  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveFilhtDialog.class

     文件       3150  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveFilhtDialog.java

     文件       4279  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveFlightSchedularDialog.class

     文件       2393  2008-06-10 16:06  zhutingfa\com\zhu\server\RemoveFlightSchedularDialog.java

     文件       3463  2008-06-10 16:06  zhutingfa\com\zhu\server\RemovePlaneModelDialog.class

     文件       1804  2008-06-10 16:06  zhutingfa\com\zhu\server\RemovePlaneModelDialog.java

     文件       5552  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchFlight.class

     文件       3501  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchFlight.java

     文件       4671  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchFlightSch.class

     文件       2777  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchFlightSch.java

     文件       3881  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchOrder.class

     文件       2018  2008-06-10 16:06  zhutingfa\com\zhu\server\SearchOrder.java

     文件       2402  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerMainClass.class

     文件       1482  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerMainClass.java

     文件        718  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerMainframe$1.class

     文件       5729  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerMainframe.class

     文件       4624  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerMainframe.java

     文件        893  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerThread.class

     文件        387  2008-06-10 16:06  zhutingfa\com\zhu\server\ServerThread.java

     文件       1049  2008-06-10 16:06  zhutingfa\com\zhu\util\HbnUtil.class

     文件        612  2008-06-10 16:06  zhutingfa\com\zhu\util\HbnUtil.java

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

评论

共有 条评论