java netbean

java netbean


To develop an airline reservation system.
The system should be able to provide the following:
- Accept passenger information.
- Assign an appropriate seat.
- Display the boarding pass.

Outcomes:
1. Apply the object-oriented programming techniques of Java.
2. Write decision-making statements and control structures to solve problems.
3. Create user-friendly interfaces and apply event-handling techniques of Java.
4. Explore best practices for designing and developing applications.

Problem statement:
A small airline has just purchased a computer for its new automated reservations system. You have been asked to design the logo and develop the new system.

Currently, the airline runs only one aircraft with a capacity of 10 seats and has three types of travel sections ¡V First, Business, and Economy. It is identified by an aircraft number and type. The system should generate a user-friendly interface to accept the passenger¡¦s first name, last name, date of birth and choice of travel section. The system should be able to assign seats on each flight of the airline¡¦s only plane.

Type of travel selection Denoted as Seat numbers assigned
First F 1001-1003
Business B 1004-1006
Economy E 1007-1010

If a seat has already been assigned, it cannot be used to assign to another person on that flight. If a particular section is full, based on the seat availability, it should ask the user if he/she wishes to upgrade.

Scenario If seat is available If seat is not available
When Economy section is full Ask and Assign in Business section Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨
When Business section is full Ask and Assign in First-class section Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨

When First-class section is full Ask for user¡¦s choice, and assign the seat (Business/Economy) Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨

Once all the information has been entered, the system should print a boarding pass (on the screen itself), indicating the following:
- Flight number (since there is only one aircraft, this can have only one value).
- Date of the flight (this can be assumed to be the current date as per your computer)
- Passenger¡¦s first name and last name
- Passenger¡¦s date of birth
- Type of travel section.
- Passenger¡¦s seat number.
Add an extra feature to enhance the functionality of your application.

Important guidelines:
- Use NetBeans 6.7.1 as the integrated development environment.
- The project name must begin have the pattern as <Firstname><Lastname><Project Name>.
- Use appropriate comment entries to signify your course code, student ID, last name and first name at the beginning of each program.
- All user-defined variable names must begin with the first three characters of your last name.

- Use object-oriented techniques to enhance the functionality of your system (for example ?³ classes, constructors, methods, inheritance, composition, polymorphism Date class, etc.)
- Arrays can be used to add effectiveness.
- Apply exception-handling techniques of Java.
- Appropriate validations must be done.
- Ensure that the interface/s generated by your program are user-friendly and give a professional look. The system must be a GUI.

-
View Answers









Related Tutorials/Questions & Answers:
java netbean - UML
java netbean   To develop an airline reservation system. The system... the object-oriented programming techniques of Java. 2. Write decision-making... interfaces and apply event-handling techniques of Java. 4. Explore best practices
how to configure the hibernate in netbean
how to configure the hibernate in netbean  how to configure the hibernate in netbean 6.5
Advertisements
Connect database in Access to Netbean?
Connect database in Access to Netbean?  how to connect database in micrsoft access to Netbean?i know it can be connected by using JDBC-ODBC bridge, can i know the steps in connecting the database? Is there any source code
How to netbean mobile application - MobileApplications
How to netbean mobile application  Hello, i am recently... database on request. i use netbean 6.5 and ms sql server 2000. i will also like to knw how to use netbean to design a mobile application that sends and recieve
use netbean develop a library system
use netbean develop a library system  Hi could someone build a program in netbeans for a book library please.The program should provide a menu of options to work with the library, including: 1) Adding a new item to the library
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.  it shows error file does not exist
Java NetBean
Java NetBean         The NetBeans IDE is a free, open-source Integrated Development Environment... to create professional desktop, enterprise, web and mobile applications in Java
Writing a loop statement using Netbean
Writing a loop statement using Netbean  Write a loop program using NetBeans.   Java Loops class Loops{ public static void main(String[] args){ int sum=0; for(int i=1;i<=10;i
How to open a .war file inside Netbean IDE? - IDE Questions
How to open a .war file inside Netbean IDE?  Dear experts, I've been trying to read a .war file inside my Netbean IDE alot of times... netbean as .war file. When I pressed the run tab inside my netbean ide to see how
To call jrxml/jasper file through jsp code in netbean
To call jrxml/jasper file through jsp code in netbean  I am making web application in jsp with netbean. For report I am using ireport 3.6.7. Through plugin ,ireport is integrated with neatbean and I also created one report. So
java
java  dear sir how to create MDI form using netbean
java coding
java coding  i am using netbean to my project and it is Desktop Application.i want my textfield to accept only numbers or only alphabets .........plez plez plez do help me..........i am just beginner to java codes
Java web Application
Java web Application  Hi! I have developed a java web application project using netbean IDE with glassfish server. My question is how to create a runnable file from this. How can we make it to a single file? I think it is war
Java Code to Block a website accessed by any browser in windows
Java Code to Block a website accessed by any browser in windows  I want create an application in Java through Netbean IDE to block any website to be accessed by any browser. I also want to display only its html contents. please
how to retrieve image from mysql using java - Java Beginners
how to retrieve image from mysql using java  hi i am using jsf and java IDE netbean,database mysql.how to retrieve image from mysql database. please help me   Hi friend, I am sending you a link. I hope
Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A
Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A   Sir I am pravin Gajendra Chobe. I want to run my Project using MYSQL, Netbean, I got... server error INFO: Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A
Java Servlets - Java Interview Questions
where can i download NetBean 5.5.1?  Pojo class is normal java...Java Servlets  1.What is Pojo class? How and where it is used? 2.Can... " THE JAVA CLASS CANNNOT EXTENDS ANY PREDEFINED THIRDPARTY API CLASS OR INTERFACE". 3
java - EJB
java  i have a login form in swing in netbean with username and password .i want store data in database through Sessionbean And Entitybean .when i insert data in username & password field , if data is incorrect show a massege
N - Java Glossary
language, not in Java.    Java NetBean The NetBeans... N - Java Glossary       Java Number Format In programming languages, a pattern of special
Connecting to Hardware - Java Beginners
Connecting to Hardware  I'm currently using netbean for my Final Year Project system that involve some hardware like electronic weighihng scale. Can you please provide me at least the idea if not the coding on how the system can
how to make this java mail works? - Java Beginners
how to make this java mail works?  Dear experts, Recently, I... himself. The problem is that netbean ide is sending many error message on this java file as below :- package com.XmlEcomBook.Chap05; import java.util.
RMI - RMI
RMI  DEAR SIR, I WANT TO LEARN RMI USING NETBEAN 6. PLEASE HELP ME WITH A STEP-BY-STEP, ON NETBEAN. THANK YOU AND BEST REGARDS, KUMAR.S...://www.roseindia.net/java/java-tips/background/30java_tools/netbeans.shtml http
to add on to my queries - Java Beginners
to add on to my queries   Dear Experts, Sorry but I am worried that I did not explain clearly so I am adding in the error message I get from Netbean IDE when I run that queries using the last solution provided. I'm puzzled
Add menu - IDE Questions
Add menu  sir,i m student and learning netbean in which i want to develop web application but i cant find how to add menu item(not the case for java application where menu can be added from palette)so that when i run
Clarify my last question's answer - Java Beginners
Clarify my last question's answer  Dear expert, I've tried out many times your solution but I'm not sure why it is not working. And I do not see how your solution is giving me the matching that I hope to do. Netbean Ide
jarfile - JDBC
jarfile  i m making my project in netbean so i dont have mail.jar or activation.jar file so what should i do
404 error
404 error  i have 404 error in my addition programe of servlet how should i solve this. i'm using netbean on glassfish server
404 error
404 error  i have 404 error in my addition programe of servlet how should i solve this. i'm using netbean on glassfish server
J2EE Application Development Solutions and Services
Services J2EE is the modular, component-oriented derivative of Java and has become... cycles of developed applications. Key java services available from Java application servers and the J2EE framework include java server pages, Java's
Getting 404 errors - Java Beginners
doesn't appear in the xml mapping inside my netbean IDE. However, even when I
Why Dose Hibernate Run Very Slow?
Why Dose Hibernate Run Very Slow?  I use Hibernate in netbean 6.9.1, when I run by F6 of netbean, Hibernate run very slow, it run some row INFO.... in GlassFish of netbean, web of me run very slow. I have configure Hibernate
Struts tag - Struts
Struts tag  I am new to struts, I have created a demo struts application in netbean, Can any body please tell me what are the steps to add new tags to any jsp page
java
java  diff bt core java and java
java
java  what is java
Error In starting Glassfish in Eclipse.
the installed jre to C:\Program Files\Java\jdk1.6.0_06. But when i want to start... Executable Cannot run program "C:\Program Files\Java\jdk1.6.006/bin/java... command,It is start. And with also netbean it works fine. Hope i will find
JAVA
JAVA  how the name came for java language as "JAVA
java
java   why iterator in java if we for loop
java
java  explain technologies are used in java now days and structure java
java
java  different between java & core java
Java
Java   Whether Java is pure object oriented Language
java
java  is java open source
java
java  what is java reflection
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java

Ads