code: public Thread createThread(Runnable runnable) {
          Thread thread = new Thread(getThreadGroup(), runnable, nextThreadName());
          thread.setPriority(getThreadPriority());
          thread.setDaemon(isDaemon());
          return thread;
      }
docs: Template method for the creation of a new {@link Thread}.
  <p>
  The default implementation creates a new Thread for the given
  {@link Runnable}, applying an appropriate thread name.
  
  @param runnable
  the Runnable to execute
  @see #nextThreadName()