Ejemplo n.º 1
0
 // Used in transition from one tab to anothr
 public void clear() {
   myWebView.clearMarker();
   myWebView.clearHeatMap();
   myWebView.clearHotSpot();
   myWebView.hideOverMap();
   rpaAggregate.clearCrime(myWebView);
   panel1.removeAllText();
   panel2.removeAllText();
   panel3.removeAllText();
   panel4.removeAllText();
   panel4.removeChartPanel();
   panel5.removeChartPanel();
   panel2.clear();
 }
Ejemplo n.º 2
0
 /**
  * Initialize the contents of the frame.
  *
  * @throws IOException
  * @throws InvalidFormatException
  */
 private void initialize() throws InvalidFormatException, IOException {
   addPanel();
   initializeData();
   addLookAndFeel();
   addFrame();
   addMenu();
   addToggleMarker();
   addToggleRpa();
   addPrecinct();
   addComboBox();
   addTabPane();
   myWebView.initializePrecinct(precincts);
   myWebView.initializeRpas(rpaAggregate.rpaPolygons);
   addComponents();
   crimeDistEstimJFrame.pack();
 }