Giter VIP home page Giter VIP logo

ghiadazsx / blooddonationapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

I use this Idea In order to maintain a safe and healthy blood supply, some hospitals have a division to store and preserve blood donations for later use in blood transfusion. It is referred to as a blood collection center. by using Java OOP ☕️🩸

Java 100.00%
javaoop blood-donation java javaexceptionhandling arraylist getter-functions

blooddonationapp's Introduction

Blood Donation App by Java OOP

Introducing

here is the Blood Donation app which i create it by using oop java for M251 assignment project There are different types of blood donations including whole blood, power red cell, platelet, and plasma donations. In the blood collection center, the details of donors are stored to be contacted whenever a requirement of blood is needed.


Requirement

First Phase Second Phase Third Phase
Create a separate class each in a .java file to represent a blood collection center, a donor, a blood donation. A method to restore the saved content back into an appropriate Java data structure for the next run time Create GUI (Graphical User Interface) application.
The blood collection center has a name and a list of eligible donors. A method to save the content of the created Java structure into a text file. Design window by using a minimum of four different user interface controls labels, text field, buttons, text area
Each donor has a name, blood type , contact number and also has a single list to keep track of all they blood donations’ types at specific dates. Initially the list is empty. create an Exceptions which are basically derived classes of Exception and class that defines a duplicate exception. Exceptions which are basically derived classes of Exception. Write a class that defines a duplicate exception

Features

  1. Add a donor to the center if he/she is not already in the donors list.
  2. For each donor, list the ideal blood donation types based on the donor’s blood type.
  3. For each donor, determine whether the donor is capable for a new donation based on:
    1. the most recent donation date among all his/her past donations records
    2. the given waiting period constraints in each respective blood donation type and the total number of donations given by him/her during the last year.
  4. you can Add a blood donation for a donor's data is correct in time frame with respect to his/her past donation records
  5. you can check and save the center structure into text file include center name and donors list which shows their blood donations details along with a status field that shows whether the donor is capable for a new blood donation or not.

Environment

Netbeans 8.2

GUI

Yub it's look girly bit 🤷🏻‍♀️ 🥴

Screen Shot 2021-06-24 at 10 35 52 PM

blooddonationapp's People

Contributors

ghiadazsx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.