Introduction - If you have any usage issues, please Google them yourself
Design a student registration interface. Input information includes student number (6 digits), name (no more than 6 Chinese characters), password (no less than 6 characters, no more than 8 characters, and need to be input twice, the password must be exactly the same for two times), major (selected from "mathematics", "computer" and "foreign language" or self-input), grade (from "first grade", "second grade", "third grade). Choose one of the grades and the fourth grade, and only one of them. After clicking the "Registration" button, the program checks whether the input is correct, and displays the corresponding prompt information if the error occurs. Otherwise, a message window pops up to display all the input registration information. The program file is named Exe9_1. Java