removed unnecessary ComponentListener
changed System.out.println to Log.debug