private boolean loadGraphFile(File graphFile) {
   Properties properties = new Properties();
   try {
     InputStream inputStream = new FileInputStream(graphFile);
     properties.load(inputStream);
     inputStream.close();
     for (int i = 0; i < 4; i++) {
       Param.GraphEnb[i] = Boolean.valueOf(properties.getProperty("GraphEnb" + String.valueOf(i)));
       Param.GraphAxisText[i] = properties.getProperty("GraphAxisText" + String.valueOf(i));
       Param.LineNum[i] = Integer.parseInt(properties.getProperty("LineNum" + String.valueOf(i)));
     }
     Param.GraphTitle = properties.getProperty("GraphTitle");
     Param.comBaud = Integer.parseInt(properties.getProperty("comBaud"));
     Param.comPort = properties.getProperty("comPort");
     if (Param.Subghz_Tab_Enb == true) {
       SettingFrame.setSelectedIndex(Integer.parseInt(properties.getProperty("selectedTab")));
     }
     Param.subghzBaud = Integer.parseInt(properties.getProperty("subghzBaud"));
     Param.subghzStrTxaddr = properties.getProperty("subghzStrTxaddr");
     Param.subghzPwr = Integer.parseInt(properties.getProperty("subghzPwr"));
     Param.subghzPanid = properties.getProperty("subghzPanid");
     Param.subghzChannel = Integer.parseInt(properties.getProperty("subghzChannel"));
     graphSetting.setParam();
     tabCom.setParam();
     tabSubGHz.setParam();
   } catch (Exception ex) {
     System.out.println(ex.getMessage());
   }
   return true;
 }
 // reset panel
 private void FileNew() {
   initParam();
   graphSetting.setParam();
   tabCom.setParam();
   tabSubGHz.setParam();
 }