Removed JOptionPane from driver,JOptionPane  window was behind other Windows