This programming coursework is designed to introduce students to the fundamentals of programming, including concepts such as variables, loops, conditionals, and functions. Throughout the course, students will develop their skills in Python, which is a popular programming language used in various fi...
,List of Figures
Figure 1: Compiling and running java program using command prompt ....................... 17
Figure 2: Running of Java File EquipmentRental .......................................................... 18
Figure 3: Adding an Equipment To Rent ....................................................................... 19
Figure 4: Adding an Equipment To Sell ......................................................................... 19
Figure 5: Renting Of an Equipment ............................................................................... 20
Figure 6: Returning Of an Equipment ............................................................................ 20
Figure 7: Selling Of an Equipment ................................................................................ 21
Figure 8: Appearance of dialog box when wrong equipment number is added ............. 22
Figure 9: Appearance of Dialog when wrong Equipment number is entered in bot ....... 22
Figure 10: Error when wrong equipment number was entered...................................... 23
Figure 11: Correction of the error because of equipment number ................................. 23
Figure 12: Error when Bounds is Set wrong .................................................................. 24
Figure 13: Same bounds for both customer name and date of hire .............................. 24
Figure 14: Correction Of Setting Bounds....................................................................... 25
Figure 15: Correction Of Bounds for customer name and date of hire .......................... 25
Figure 16: Syntax error for clear button ......................................................................... 25
Figure 17: Correction for syntax error for clear button ................................................... 26
List of Tables
Table 1: EquipmentRental All Instance Variable ............................................................. 3
Table 2: EquipmentRental All Methods ........................................................................... 3
Table 3: Method Description Of EquipmentRental ........................................................ 16
Table 4: Test For Compiling and Running Java Using Command Prompt .................... 17
Table 5: Test for adding an equipment to rent and sell then renting equipment, returning
equipment and selling of equipment....................................................................... 18
Table 6: Displaying Of Different Dialog box When invalid Equipment Number is entered
............................................................................................................................... 21
, CS4001NI PROGRAMMING
INTODUCTION:
Java is one of the important programming language. With the help of this programming
language we can do various types of work like creating websites, applications, games,
etc. We can run java on different platforms like windows, Linux, Sun Solaris, etc.
This project is about creating Graphical User Interface GUI with Java for storing data
of Equipment in the EquipmentRental. This project was for vast learning of java. BlueJ
IDE was used to create this GUI program. We created a GUI program for Equipment
that can be rent and bought. Here we have used different text fields and labels with
different buttons. This project was new for us but slowly we learned how to create a
GUI using different text fields with working buttons that stores data given by user.
Ashutosh Chaurasia 1|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ayushmanthapa. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £12.18. You're not tied to anything after your purchase.