private void initPropertiesIfNecessary(){
  if (timer == null) {
    Toolkit t=Toolkit.getDefaultToolkit();
    Integer prop;
    prop=(Integer)t.getDesktopProperty("DnD.Autoscroll.interval");
    timer=new Timer(prop == null ? 100 : prop.intValue(),this);
    prop=(Integer)t.getDesktopProperty("DnD.Autoscroll.initialDelay");
    timer.setInitialDelay(prop == null ? 100 : prop.intValue());
    prop=(Integer)t.getDesktopProperty("DnD.Autoscroll.cursorHysteresis");
    if (prop != null) {
      hysteresis=prop.intValue();
    }
  }
}

private void initPropertiesIfNecessary ( ) { if ( timer == null ) { Toolkit t = Toolkit . getDefaultToolkit ( ) ; Integer prop ; prop = ( Integer ) t . getDesktopProperty ( "DnD.Autoscroll.interval" ) ; timer = new Timer ( prop == null ? 100 : prop . intValue ( ) , this ) ; prop = ( Integer ) t . getDesktopProperty ( "DnD.Autoscroll.initialDelay" ) ; timer . setInitialDelay ( prop == null ? 100 : prop . intValue ( ) ) ; prop = ( Integer ) t . getDesktopProperty ( "DnD.Autoscroll.cursorHysteresis" ) ; if ( prop != null ) { hysteresis = prop . intValue ( ) ; } } }
initializes the internal properties if they haven ' t been already inited . this is done lazily to avoid loading of desktop properties .
