如题,谢谢大家!

解决方案 »

  1.   

    try {
        if(selectedValue!=null){
          java.net.URL urlTest = new java.net.URL("http://www.baidu.com/s?wd=" +
                                                  selectedValue + "&cl=3"); //baidu
          Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " +
                                    urlTest.toString());
        }
      }
      catch (java.io.IOException ex){}