Please, also clarify the context. Is it related to AWT/Swing GUI? Or other GUI/graphics/game framework? What is stepListener? (it is surely not from AWT/Swing).