Object Oriented Input Output : Listener pattern means something to you ? This source code is for you !