Login 1. When Password is Incorrect. 2. When the User ID is Incorrect. 3. When the User ID and Password are correct, then it will dispose the current frame and take you to the new Window.