Yes, both the Timer class and the ScheduledExecutorService offer methods to cancel scheduled tasks.