You could always use a Runnable.