求助一个JAVA GUI问题!~

发布于2022-02-04 08:42:11

Design two classes name “Student” and “Course”. A course should has a courseID, students, number of students and lecturers. A student should has a matric number, registered courses and number of registered courses.     Draw the UML diagram for the classess. Implement the classes with an appropriate methods.   Write a test program that creates some students and courses objects by reading the two input files (“StudRegistration.stu” and “Lecturer.lec”).   Write a GUI program which can display course or student information depending on the user choice. If the user selects to display course information, the appropriate textbox will be displayed for inputting the course ID. Similarly, for student info choice, display textbox for inputting the student matric. The sketch GUI diagram is shown in Figure 1 and 2. The format for the input files are: StudRegistration.stu Matric Number    Course1 Course 2       Course 3       ………     Lecturer.lec CourseID       Lecturer1      Lecturer2      …….   我建了两个JRaidioButton但是不知道怎么调用这两个class啊 还有怎么读取外面那两个文件呢

2个回答
admin
网友回答2022-02-04

你好,请问问题解决啦吗?    如果没解决就说详细点    我可以帮你解决一下

没解决就联系我

admin
网友回答2022-02-04

加事件监听处理没有?ItemListener

回到
顶部