Package xgenerator.util

Examples of xgenerator.util.HttpClient


   * @author <a href="mailto:shushanlee@msn.com">liss</a>
   * @param e
   */
  public void updateActionPerformed(ActionEvent e) {
    try {
      HttpClient httpClient = new HttpClient();
      String requestUrl = "http://liss.iteye.com/";
      String responseEncoding = "UTF-8";
      //System.out.println(httpClient.doGet(requestUrl, responseEncoding));
      if(true) {
        JOptionPane.showMessageDialog(ui, "恭喜!\n你的XGenerator已经是最新版本。", "XGenerator在线升级", JOptionPane.INFORMATION_MESSAGE);
View Full Code Here


    checkUpdateLabel.setText("<html><a href='http://www.google.cn'target='_blank'>检查更新</a></html>");
   
    checkUpdateLabel.addMouseListener(new MouseAdapter() {
      public void mouseClicked(MouseEvent e) {
        try {
          HttpClient httpClient = new HttpClient();
          String requestUrl = "http://liss.iteye.com/";
          String responseEncoding = "UTF-8";
          //System.out.println(httpClient.doGet(requestUrl, responseEncoding));
          if(true) {
            JOptionPane.showMessageDialog(e.getComponent().getParent().getParent(), "恭喜!\n你的XGenerator已经是最新版本。", "XGenerator在线升级", JOptionPane.INFORMATION_MESSAGE);
View Full Code Here

TOP

Related Classes of xgenerator.util.HttpClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.