private void initButton() {

		new MousetTacker().start(); // λã
		
		this.setLayout(new BorderLayout());

		showButton = new JButton(icon);
		showButton.setBorder(null);
		showButton.setToolTipText("");

		showField = new JTextField(initString);
		showField.setEditable(false);
		showField.setPreferredSize(new Dimension(125, 25));

//		Box box = Box.createHorizontalBox();
//		box.add(showField);
//		box.add(showButton);
//
//		this.add(box);
		this.add(showField, BorderLayout.CENTER);
		this.add(showButton, BorderLayout.EAST);
		this.setBorder(BorderFactory.createLineBorder(Color.GRAY));
		this.addMouseListener(new MouseAdapter() {
			public void mousePressed(MouseEvent me) {
				if (!me.getSource().equals(this)) // λ⣬ش
					hidePanel();
			}
		});

		this.addFocusListener(new FocusListener() {

			@Override
			public void focusLost(FocusEvent arg0) {
				hidePanel();
			}

			@Override
			public void focusGained(FocusEvent arg0) {
			}
		});

		this.addAncestorListener(new AncestorListener() {
			public void ancestorAdded(AncestorEvent event) {
			}

			public void ancestorRemoved(AncestorEvent event) {
			}

			// ֻҪһƶ,Ͼpopupʧ
			public void ancestorMoved(AncestorEvent event) {
				hidePanel();
			}
		});
		showButton.addMouseListener(new MouseAdapter() {
			public void mouseEntered(MouseEvent me) {
				if (showButton.isEnabled()) {
					showButton.setCursor(new Cursor(Cursor.HAND_CURSOR));
					showButton.setForeground(Color.blue);
				}
			}

			public void mouseExited(MouseEvent me) {
				if (showButton.isEnabled()) {
					showButton.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
					showButton.setForeground(Color.BLACK);
				}
			}

			public void mousePressed(MouseEvent me) {
				showButton.requestFocusInWindow();
			}

			public void mouseReleased(MouseEvent me) {
				if (showButton.isEnabled()) {
					showButton.setForeground(Color.BLACK);
					if (isShow)
						hidePanel();
					else {
						setCalendar(calendar.getTime(), false); // ʱ֡
						initPanel();
						showPanel(showField);
					}
				}
			}
		});
	}