A method, apparatus, and computer instructions for managing windows in a
foreground and a background in a data processing system. A buffer is
monitored for user input in response to receiving a request to present a
pop-up window in a foreground. A determination is made as to whether the
application in the foreground is an interruptible application. The pop-up
window is presented in the foreground if user input is absent and if the
identified application is an interruptible application.