首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
EBU4201语言编程辅导、讲解Java程序、Java程序调试 辅导Database|辅导Python程序
项目预算:
开发周期:
发布时间:
要求地区:
EBU4201 – Introductory Java Programming (2020/21) Page 1 of 6
School of Electronic Engineering
and Computer Science
Mini-Project Coursework: A workshop check in using Java program
Module code: EBU4201
Module title: Introductory Java Programming
Hand-out date: 17th May 2021
Hand-in date: 4th June 2021
Marks available: 50
Feedback: Individual marking sheet including feedback comments and a mark out of 50.
Introduction:
You are asked to write a Java program that handles a check in process for a workshop event. A
total of 30 participants have registered for the workshop. Participants use the check in program
in order to be successfully enrolled onto the workshop event. The development of the Java
program includes the following two phases:
a. Developing the interface
b. Improving the interface interactivity
EBU4201 – Introductory Java Programming (2020/21) Page 2 of 6
a. Developing the interface
Task 1 [14 marks]
Once the program is launched with the command java CheckIn, the interface should look
like in Figure 1:
Figure 1
Your task: Complete the Java Graphical User Interface (GUI) as shown Figure 1 for the
expected look of the interface. See the notes below for details.
1) Create the class file named as MyFrame.java to design the GUI;
2) Create the main class file CheckIn.java as the entry point to the Java application;
3) Use GridLayout to arrange the GUI components in rows and column such that int
rows = 9, column = 1;
4) Create instances of JFrame and JPanel to make a frame and panels;
5) Make widgets in the interface using JLabel, JTextField, JComboBox, JCheckBox
and JButton.
6) Four JComboBox accept the array of strings such that:
i) Date of birth (month) – from January to December;
ii) Date of birth (year) – from year 1998 to 2005;
iii) Programme – all available BUPT Undergraduate courses;
iv) Programme (year) – from year 1 to 4.
7) When the JButton ‘Clear’ is clicked, the program will erase the entered information;
8) When the JButton ‘Exit’ is clicked, the program will exit;
EBU4201 – Introductory Java Programming (2020/21) Page 3 of 6
9) The JButton ‘Next step’ is placed as a placeholder for Task 1 and more instructions
are available in Task 2.
Note: You do not require to record the information and Task 1 is just about building the GUI.
Task 2 [12 marks]
Once the user clicks on the ‘Next step’ button from the Figure 1, your interface should look like
in Figure 2. This is where the user completes the check in progress.
Figure 2
Your task: Complete the GUI as shown in Figure 2 when the JButton ‘Next step’ is clicked.
See the notes below for details.
1) Create the class file named as AnotherFrame.java to design the GUI;
2) Use BorderLayout to hold components in three regions: NORTH, CENTER and SOUTH.
3) Create instances of JFrame and JPanel to make a frame and panels;
4) Make widgets in the interface using JLabel, JTextArea and JButton.
5) The JTextArea in the middle panel displays the information entered by the user from
MyFrame.java.
6) When the JButton ‘Finish’ is clicked, the program will exit.
7) You need to store the information in an Array once the user’s input information is
obtained successfully.
b. Improving the interface interactivity
Now that the GUI design is completed. The Java program, however, needs several
improvements to enhance the end users’ experiences in using the program.
Task 3 [12 marks]
Your task: The Java program should now ensure the user completes the requested information
so that the check in process can be completed successfully. As an example, as shown in Figure
3a, when a user does not provide the email address information:
1) an error dialog box will display prompting the user to complete the missing information
(see the left panel of Figure 3a);
2) The incomplete session is highlighted in red so that user can easily check the missing
information to be completed (see the right panel pf Figure 3a);
EBU4201 – Introductory Java Programming (2020/21) Page 4 of 6
3) The Java program now will not proceed to the check in completion stage
(AnotherFrame.java), as the information is/are incomplete;
4) Your program should also prompt the user to complete the missing information for other
parts (including the CheckBox).
Figure 3a
5) If all the information is entered by the user, your program should pop-up a dialog box
as shown in Figure 3b to confirm with the user for the final confirmation before the
check in process is completed.
Figure 3b
Hint:
1. You need to import the class JOptionPane of the javax.swing package to make the
standard message dialog box.
EBU4201 – Introductory Java Programming (2020/21) Page 5 of 6
Documentation [12 marks]
Your submitted work must include:
a. Automatically generated Javadoc files.
b. Comments (both internal and Javadocs) in your code.
c. User Manual; this should be a document1 with no more than two A4 pages which must
include instructions on how to run the program (i.e. both how to start it, and how to use it).
Note: All documentation files must be placed in a directory called Documentation.
Marking Scheme
Marks will be awarded for the following:
1. a clearly laid out interface
2. correctly functioning code
3. clearly structured code including comments and sensible variable, class, and method names
4. you should NOT use any other Java packages except .awt, .swing and .util packages
5. properly designed classes following object-oriented principles. E.g. do NOT write
everything in the main method, keep code repetition to a minimum (i.e. use methods), do
NOT use static methods unless there is a good reason
Note 1: The main program file must be called CheckIn.java, and it must compile and run
from the command line; otherwise, it will NOT be possible to give marks for any implemented
functionality.
Note 2: OpenJDK 15 must be used, as instructed in Teaching Block 1 (click here for more
information).
Note 3: All documentation files should be placed in a directory called Documentation.
1 Accepted document formats include: .txt, .docx and .pdf.
EBU4201 – Introductory Java Programming (2020/21) Page 6 of 6
Submission Instructions
You must zip all the following files:
1. The directories created from Task 1 to Task 3 including all .java files produced2
.
2. The Documentation directory, including all Javadoc comments and the User Manual.
Notes:
• You must name your .zip file 201921xxxx.zip, where 201921xxxx is your BUPT student
number.
• You must submit your .zip file to the EBU4201 course area in QMplus 3 , under the
assignment activity Mini-Project (submission).
IMPORTANT: This is an individual piece of assessed coursework; therefore, students must
NOT work in groups and must not share code solutions. Students must not post (partial) code
solutions when asking questions about the Mini-Project in QMplus.
2 It will not be possible to mark your work if you only provide .class files.
3 Any work sent via email will be ignored and not marked.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!