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

📄 main.java

📁 一个简单的JAVA程序
💻 JAVA
字号:
package flight.Main;

import flight.assist.*;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class Main extends JFrame
{
    private UpdateComboBox update;
    private Interface jiemian;
    	
	public Main()
	{
		update = new UpdateComboBox();
		
		jiemian = new Interface();
		
		this.getContentPane().add(jiemian);		
	}
	
	public static void main(String args[])
	{
		   //Get the System's look for the GUI
		try 
		{
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		}
		catch(Exception e)
		{
		}
	   
		Main frame = new Main();
		frame.setSize(570,440);
		frame.setResizable(false);
		frame.setTitle("航班查询系统及定票系统");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
	}
}

⌨️ 快捷键说明

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