Java Control Does Not Switch While New Window Pops Up

Java Control Does Not Switch While New Window Pops Up