public void init() {
		timePanel = new JPanel(null);
		memPanel = new JPanel();
		displayArea = new JLabel();
		dateLabel = new JLabel();
		setMemButton = new JButton("༭¼");
		minimizeButton = new JButton("С");
		todayMemBorder = new TitledBorder("ձ");
		DefaultTableModel model = new DefaultTableModel(playerInfo, Names) {

			public boolean isCellEditable(int row, int column) {
				return false;
			}
		};
		memTable = new JTable(model);
		memTable.setPreferredScrollableViewportSize(new Dimension(270, 245));
		JScrollPane scrollPane = new JScrollPane(memTable);
		memTable.setDefaultRenderer(Object.class,
				new TableCellTextAreaRenderer()); // Զ
		/*
		 * DefaultTableCellRenderer r = new DefaultTableCellRenderer();
		 * r.setHorizontalAlignment(JLabel.CENTER);
		 * memTable.setDefaultRenderer(Object.class, r); //ʹУḲǻ
		 */
		configTimeArea();
		configTable();

		dateLabel.setText(getDate());
		dateLabel.setFont(dateFont);
		displayArea.setFont(timeFont);
		todayMemBorder.setTitleFont(borderFont);
		minimizeButton.setFont(buttonFont);
		setMemButton.setFont(buttonFont);
		minimizeButton.setBounds(150, 100, 130, 30);
		setMemButton.setBounds(5, 100, 130, 30);
		dateLabel.setBounds(0, 0, 300, 50);
		displayArea.setBounds(0, 15, 300, 100);
		memPanel.setBounds(0, 140, 285, 300);
		memTable.setBounds(5, 20, 275, 275);
		dateLabel.setHorizontalAlignment(SwingConstants.CENTER);
		displayArea.setHorizontalAlignment(SwingConstants.CENTER);
		setMemButton.addActionListener(this);
		minimizeButton.addActionListener(this);
		timePanel.add(dateLabel);
		timePanel.add(displayArea);
		timePanel.add(setMemButton);
		timePanel.add(minimizeButton);
		memPanel.setBorder(todayMemBorder);
		memPanel.add(scrollPane, BorderLayout.CENTER);
		timePanel.add(memPanel);
		this.add(timePanel);
		this.setTitle("¼");
		this.setSize(300, 480);
		this.setLocationRelativeTo(null);
		this.setTray();
		Image image1 = Toolkit.getDefaultToolkit().getImage(
				getClass().getResource("/trayIconImage/image.png"));
		setIconImage(image1);
		this.setVisible(true);
		// this.setResizable(false); //ʹڲܸıС
	}