thank you for the help for grabbing all window open by user.
now my other problem is , i want to get what caused any event and the command everytime any component in any of the open window is invoking an event (from tree or mouse or list or whatever), then show it in window B. is there anyway to do this?
i know that i could do e.getSource() and e.getActionCommand() for actionperformed method, but what about the other even occured how do i know the source and the command straight away?
at the moment i have my window A to be extends from window B and in the actionPerformed method i called super.actionPerformed. so everytime window A doin anything it will always called window B method. but i dont like this way. is there any simpler way to do it.