一个用java写的地震分析软件(无源码)

源代码在线查看: frame2.java

软件大小: 4616 K
上传用户: jccg1000146752
关键词: java 地震 分析软件 无源
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.trinet.jasi;
				
				import java.awt.*;
				import java.awt.event.*;
				import javax.swing.*;
				
				public class Frame2 extends JFrame {
				     BorderLayout borderLayout1 = new BorderLayout();
				
				     //Construct the frame
				  public Frame2() {
				          enableEvents(AWTEvent.WINDOW_EVENT_MASK);
				          try  {
				               jbInit();
				          }
				          catch(Exception e) {
				               e.printStackTrace();
				          }
				     }
				
				     //Component initialization
				  private void jbInit() throws Exception  {
				          this.getContentPane().setLayout(borderLayout1);
				          this.setSize(new Dimension(400, 300));
				          this.setTitle("Frame Title");
				     }
				
				     //Overridden so we can exit on System Close
				  protected void processWindowEvent(WindowEvent e) {
				          super.processWindowEvent(e);
				          if(e.getID() == WindowEvent.WINDOW_CLOSING) {
				               System.exit(0);
				          }
				     }
				} 			

相关资源