public MainFrameClass() {
		topJPanel = new JPanel();
		midJPanel = new JPanel();
		footJPanel = new JPanel();
		bigmidJPanel = new JPanel();
		topmidPanel = new JPanel();
		this.getContentPane().add(topJPanel, "North");
		this.getContentPane().add(bigmidJPanel, "Center");
		this.getContentPane().add(footJPanel, "South");
		bigmidJPanel.setLayout(new GridLayout(2, 1));
		midJPanel.setLayout(new GridLayout(2, 2));
		this.setSize(WIDTH, HEIGHT);
		this.setTitle("ɼƹͻ");
		this.setVisible(true);
		keywords = new JLabel("ѡļ");
		totalKeywords = new JLabel("                           0ؼʣ");
		nowKeywords = new JLabel("ǰ0");
		totalLinks = new JLabel("                               0ӣ");
		nowLinks = new JLabel("ǰ0");
		address = new JLabel("IPַ:");
		port = new JLabel("˿ں:");
		user = new JLabel("û:");
		password = new JLabel(":");
		readButton = new JButton("");
		submitButton = new JButton("ʼ");
		topmidPanel.add(address);
		topmidPanel.add(addressField);
		topmidPanel.add(port);
		topmidPanel.add(portField);
		topmidPanel.add(user);
		topmidPanel.add(userField);
		topmidPanel.add(password);
		topmidPanel.add(passwordField);
		topJPanel.add(keywords);
		topJPanel.add(field);
		topJPanel.add(readButton);
		midJPanel.add(totalKeywords);
		midJPanel.add(nowKeywords);
		midJPanel.add(totalLinks);
		midJPanel.add(nowLinks);
		bigmidJPanel.add(topmidPanel);
		bigmidJPanel.add(midJPanel);
		footJPanel.add(submitButton);
		openFileAction fileListener = new openFileAction();
		readButton.addActionListener(fileListener);
		starFindAction start = new starFindAction();
		submitButton.addActionListener(start);
		this.setResizable(false);
		try {
			this.iniReader();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}