本人有一简单例程,高手进入!
Java programming task
Directions:
The task is to create a simple but useful Graphical User Interface in Java. An example is given in Figure 1 (page 2).
You are free to use any java IDE, but the program that you send to us has to work when execute using Java Runtime Environment version 1.3 or higher.
The interface you should create is a simple maintenance UI for production lines in a manufacturing program, which includes production line code and a description for each line. Line code is the primary key and both line code and description are String data type.
Requirements:
1. The window title should be: Product Line
2. Top half of the window is data browsing area whose content include line code and description. The bottom half window is data maintenance area.
3. The user can add, update and delete data.
4. When the user clicks the new button a new record is added.
5. When the user selects a row, the data is shown in the bottom half window.
6. When the user clicks the save button the added and updated data is saved.
7. When the user clicks the delete button, the select line of data is deleted.
8. When the user clicks the close button, the window will close.
9. Errors and operation message dialogs should be displayed when needed.
You need to:
1. Write a complete java program to finish the requirements.
2. Write program installation and run instructions.
3. Send design documents (for Senior Programmer).
4. Control the enable functions and shot-cut functions of all buttons (For Senior Programmer).
5. You may use XML file(s) or other files to store data. You may also use MySQL to store data. It is not necessary to enter all data in Figure 1.
Note: If you are applying for a position as junior programmer, you are not expected to make all functions work. A minimum is to make the interface work. The function for the new, save and delete buttons are not necessary, but the more you can finish, the better.
If you are applying for a position as senior programmer, you are expected to finish all tasks.
如要求界面请留邮箱,谢谢!