private static void startDaemon(Runnable runnable){
  Thread t=new Thread(runnable);
  t.setDaemon(true);
  t.start();
}

private static void startDaemon ( Runnable runnable ) { Thread t = new Thread ( runnable ) ; t . setDaemon ( true ) ; t . start ( ) ; }
starts the daemon thread .
