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

📄 test.java

📁 java code for booking system use gui
💻 JAVA
字号:
import javax.swing.JOptionPane;
import java.io.*;
public class test {


	public static void main(String[] args) throws Exception {
		final String continent;
		continent=JOptionPane.showInputDialog("(a)from europe to europe:(b) europe out,choose a/b");
		
	GridBagLayoutDemo demo1=new GridBagLayoutDemo();
	final small_air_craft demo2=new small_air_craft();
	
	final newmyio iioo=new newmyio("e:\\jjj.txt",demo2);
	 
	javax.swing.SwingUtilities.invokeLater(new Runnable(){
		public void run()
		
		{
			//small_air_craft.createAndShowGUI();
			
		if(continent.compareTo("a")==0){	small_air_craft.createAndShowGUI();}
			else if (continent.compareTo("b")==0){GridBagLayoutDemo.createAndShowGUI();}
			}
		
		}
			);
	//iioo.writeinfo(demo2.,0);
	
	
}}

⌨️ 快捷键说明

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