but the threat of a japanese invasion during world war ii convinced australia it needed to boost its population , and in the postwar era immigrants came in droves , mostly from southern and eastern europe .