⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 display.java

📁 飞机订票系统(含界面
💻 JAVA
字号:
package AirT;

import java.awt.Color;
import java.awt.Container;

import javax.swing.ImageIcon;
import javax.swing.JApplet;
import javax.swing.JLabel;
import javax.swing.JTabbedPane;

public class Display extends JApplet{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8022202292744872809L;
	Container ctp = getContentPane();
	JTabbedPane tp = new JTabbedPane();
	JLabel picture;
	public void init()
	{
		ImageIcon we = new ImageIcon("img\\we.gif");
		picture = new JLabel(we);
		setBackground(Color.white);
		tp.addTab("您好", new HiPanel());
		tp.addTab("查询", new QueryPanel());
		tp.addTab("订票", new BespeakPanel());
		tp.addTab("退票", new RetticPanel());
		tp.addTab("录入", new RecordPanel());
		//tp.addTab("删改", new DelChaPanel());
		ctp.add(tp);
		//ctp.add(picture);
		setSize(650,465);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -