public void drawLogin() {
	    JButton GameButton = new JButton("Ϸģʽ");
	    GameButton.setBackground(Color.BLUE);
	    GameButton.setForeground(Color.WHITE);
	    JButton ExcButton = new JButton("ϰģʽ");
	    ExcButton.setBackground(Color.BLUE);
	    ExcButton.setForeground(Color.WHITE);
	    setLayout(new BorderLayout());

	    this.loginJPanel.add(ExcButton);
	    this.loginJPanel.add(GameButton);
	    this.loginJPanel.setBackground(Color.CYAN);
	    Container ContentPane = getContentPane();
	    ContentPane.add(this.loginJPanel, "South");
	    this.loginCenterJPanel = new JPanel();
	    ContentPane.add(this.loginCenterJPanel, "Center");

	    setBounds(430, 90, 500, 500);
	    setVisible(true);
	    setFocusable(true);
	    
	    ///exercise mode listener
	    ExcButton.addMouseListener(new MouseAdapter()
	    {
	      public void mouseClicked(MouseEvent e) {
	        new ExcFrame();
	        Login.this.dispose();
	      }
	    });
	    ///game mode listener
	    GameButton.addMouseListener(new MouseAdapter()
	    {
	      public void mouseClicked(MouseEvent e) {
	        new GameFrame();
	        Login.this.dispose();
	      }
	    });
	    setDefaultCloseOperation(3);
  }