static int tempShowEmotion_duration = 2000; static void tempShowEmotion(S emotion) { final Smiley s = showSmiley(); s.emotion(emotion); awtLater(s.is, tempShowEmotion_duration, r { s.hide() }); }