How to stop second monitor from requesting keyboard focus?

view full story

http://askubuntu.com – So, I'm using two monitors, one to run tests only (java unit tests) and the other for everything else. Problem is, the tests constantly request keyboard focus since they open windows and thus I can't keep working on the main monitor (because I lose keyboard focus). Is there any way I can stop the second monitor from getting the keyboard focus or at least make it not interfere with the main monitor? Each monitor run a separate X screen. Any help will be MUCH appreciated. Thank you, Milton PS: I'm running Ubuntu 10.04 with an nVidia video card. (HowTos)