mynewlife
28-02-2003, 04:33
Chào các bạn! Mình đang học ở Aptech và chuẩn bị có kì test Java. Mình có để test để tham khảo nhưng vì khả năng còn yếu nên chưa giải được. Mình mới chỉ làm được cái giao diện (interface) còn việc viết các sự kiện, giao tiếp với database thì chịu(không hiểu có phải viết riêng database không hay là dùng String. Dưới đây là đề test, mong các bạn giải giúp(applet và application) và có chú thích những dòng lệnh quan trọng. Cảm ơn nhiều !
Create the following user interface :
Rollno [-textfield=10-] Name[-textfield=20-] Tel[-textfield=10-]
(button) Ok Cancel Previous Next Exit
Hint:
Framesize : width=550 height=100
Layout is FlowLayout
Rollno, Tel : TextField(10) and Name : TextField(20);
The interface help users to manager a database of Aptech's student personal information (Rollno,Name,Tel).
* When user click Ok button : Overwrite the current student information with the new "entered" one.
* When user click Cancel button : Wipe out the new entered data and restore the information of the current student.
* When user click Previous button : Move to previous student.
* When user click Next button : Move to next student.
When user click Exit button : Close the application.
Use all your knowledge of core java up to now to do it.
Create the following user interface :
Rollno [-textfield=10-] Name[-textfield=20-] Tel[-textfield=10-]
(button) Ok Cancel Previous Next Exit
Hint:
Framesize : width=550 height=100
Layout is FlowLayout
Rollno, Tel : TextField(10) and Name : TextField(20);
The interface help users to manager a database of Aptech's student personal information (Rollno,Name,Tel).
* When user click Ok button : Overwrite the current student information with the new "entered" one.
* When user click Cancel button : Wipe out the new entered data and restore the information of the current student.
* When user click Previous button : Move to previous student.
* When user click Next button : Move to next student.
When user click Exit button : Close the application.
Use all your knowledge of core java up to now to do it.