本帖最后由 AWUSOFT 于 2011-12-02 03:35:22 编辑

解决方案 »

  1.   

    本帖最后由 AWUSOFT 于 2011-12-02 03:36:49 编辑
      

  2.   

    a
    the input is a
    do input
    checking
    c
    checking
    a
    the input is a 
    运行结果  我也是了
      

  3.   

    其实是少了一个while循环 
    public void run() {
            // TODO Auto-generated method stub
            monitor.getMessage();
        }把上面的代码改成
    public void run() {
            // TODO Auto-generated method stub
            while(true){
            monitor.getMessage();
             }
        }这样就对了 可以正常运行。多谢各位的回复