Justified doesn't mean you're right, it means "with good reason." Before we knew there were black swans in Australia, we had good reason to think that they all were white.Actually, it is not. In philosophy, this is known as the "problem of induction." (In fact, the example you gave of the black swan being the most prominent one to illustrate the problem.)