Software Technology Assignment
Introduction
This part of your main assignment should be done individually. This assignment consists of writing a program and demonstrating it or submitting it on Moodle.
NOTE: while you can do this using drag and drop in eclipse or some other java development environment you should be warned that; I will put coding questions in the exam that assume you wrote this swing form yourself manually coding the listeners and attaching them to buttons. You are unlikely to learn how to do this if you use drag and drop GUI builders.
GENERAL INSTRUCTIONS
Write a simple swing form that has the following features and looks (more or less) like the following:
It has three buttons, each of which does one thing; Add, Subtract, Concatenate.
Hints:
1. First define the GUI class which extends Jframe
2. Set the frame size
3. Set it to visible
4. Add the 3 or 4 JLabels (I used a JLabel for ===== which is optional)
5. Test it
6. Add the 2 JTextField (input boxes)
7. Test it
8. Add the 3 buttons
9. Test it
10. Write 1 listener class for Add
11. Connect the listener to the button
12. Test it
13. Write 2 more listener classes for Subtract and Concatenate
14. Connect the listener to the button
15. Test it
16. Drink Vanilla coke (optional step)
17. Fix formatting of the output
18. Add a title to jframe
19. Tidy it up
20. Test it
21. Show your tutor (get 6 easy marks)
Attachment:- Assignment Files.rar