public AidyCalender(String title) {
		super(title);

		for (int y = 1900; y < 2101; y++) {
			combo1.addItem("  " + new Integer(y).toString() + "年");
		}
		for (int m = 0; m < 12; m++) {
			combo2.addItem("  " + stringMonthCn[m]);
		}
		buttonToday.setText("今 天");
		setLayout(new FlowLayout());
		add(panel1);
		add(panel2);
		add(panel3);
		panel1.setLayout(new GridLayout(1, 3, 10, 0));
		panel1.add(combo1);
		combo1.addItemListener(this);
		panel1.add(combo2);
		combo2.addItemListener(this);
		panel1.add(buttonToday);
		buttonToday.addActionListener(this);
		labelTime.setFont(new Font("宋体", Font.PLAIN, 16));
		labelTime.setForeground(Color.MAGENTA);
		panel1.add(labelTime);
		Timer time = new Timer(1000, new TimerListener());
		time.addActionListener(new TimerListener());
		// time.setRepeats(true);
		time.start();

		// labelTime.addAncestorListener(new TimerListener());

		panel2.setLayout(new GridLayout(7, 7, 0, 10));
		panel2.setBackground(Color.white);

		for (int i = 0; i < 7; i++) {
			labelWeek[i] = new JLabel();
			labelWeek[i].setHorizontalAlignment(0);
			if (i == 0 || i == 6) {
				labelWeek[i].setBackground(Color.blue);
				labelWeek[i].setForeground(Color.RED);
				labelWeek[i].setFont(new Font("黑体", Font.BOLD, 14));
			}

			else {
				labelWeek[i].setForeground(Color.BLACK);
				labelWeek[i].setFont(new Font("新宋体", Font.PLAIN, 14));
			}

			labelWeek[i].setText(stringWeekCn[i]);
			panel2.add(labelWeek[i]);

		}
		for (int i = 0; i < 42; i++) {
			labelDay[i] = new JLabel();
			labelDay[i].setHorizontalAlignment(0);
			labelDay[i].setText("");
			panel2.add(labelDay[i]);
		}

		addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});

		setSize(300, 300);
		setBounds(250, 200, 400, 360);
		setVisible(true);
		setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		getSysDate();
		setNowDate();
	}