ui/src/main/java/ucar/nc2/ui/geoloc/NavigatedPanel.java
public void drawG() {
    Graphics g = getGraphics();    // bypasses double buffering ?
    if (null != g) {
      draw( (Graphics2D) g);
      g.dispose();
    }
  }
public void drawG() {
    Graphics g = getGraphics();    // bypasses double buffering ?
    if (null != g) {
      draw( (Graphics2D) g);
      g.dispose();
    }
  }
public void drawG ( ) { Graphics g = getGraphics ( ) ; // bypasses double buffering ? if ( null != g ) { draw ( ( Graphics2D ) g ) ; g . dispose ( ) ; } }
draw and drawG are like "paintImmediately()"
draw and drawG are like paintImmediately ()