Add a task to be executed by the next available thread
in this thread pool. If there is no free thread available
but the maximum number of threads hasn't been reached then
create a new thread.
setParentForMessages
public void setParentForMessages(JFrame parentForMessages)(Code)