private void GraphOpen() {
   graphStart.setEnabled(false);
   graphSetting.getParam();
   tabCom.getParam();
   Param.selectedTabIndex = SettingFrame.getSelectedIndex();
   if (Param.selectedTabIndex == 0) {
   } else if ((Param.selectedTabIndex == 1) && (tabSubGHz.getParam(true) == true)) {
   } else {
     graphStart.setEnabled(true);
     return;
   }
   chart = new ComChart(graphStart);
   chart.pack();
   RefineryUtilities.centerFrameOnScreen(chart);
   chart.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
   chart.setVisible(true);
   chart.addWindowListener(
       new WindowAdapter() {
         public void windowClosing() {
           LazuriteGraph.GraphClose();
         }
       });
 }
 static void GraphClose() {
   chart.close();
   graphStart.setEnabled(false);
 }