Find Jobs
Hire Freelancers

Java applet Assignment

$30-35 USD

Closed
Posted over 15 years ago

$30-35 USD

Paid on delivery
**Requirements for Assignment Submission:** A: Source applet file (java program) **B: html file (*.html ) for running your applet** **C: Test Plan document (with all cases while you tested your applet)** **D: Output? print out** ## Deliverables ## Airline Reservation System Applet? ? ? ? ? Nov. 21, 2008 **? ** **? ** An Airline wants to design a reservation system based on the following conditions: ? ·? ? ? ? ? ? ? ? Each Plane has capacity of 10 seats. ·? ? ? ? ? ? ? ? Applet should display the following options at the top of applet window ? “Please type 1 for “Non-Smoking?? # “Please type 2 for “Smoking?? ? **Note:** Types 1 and 2 are inputs and this will be accepted through a text field, if person types any wrong option type (other than 1 or 2), display a message at the status bar (last bottom line of window) that “**Invalid Input**??. ? ·? ? ? ? ? ? ? ? If a person types 1, program should assign a seat in the **Non-Smoking section** **(seats 1 to 5)** of the plane ? ·? ? ? ? ? ? ? ? If a person types 2, program should assign a seat in the **Smoking section** **(seats 6 to 10)** of the plane ? ·? ? ? ? ? ? ? ? As each seat is assigned, cross out that seat from the applet-seating chart. ? **Note:** After proper seat assignment, display message at the bottom line of window (status bar) , for example : “**Smoking Seat # 6 assigned**?? OR “**Non-Smoking Seat # 2 assigned**?? etc… ? ·? ? ? ? ? ? ? ? Program should never assign a seat that has already been assigned. ? ·? ? ? ? ? ? ? ? When the Smoking section of Plane is full, Program should ask the person if it is acceptable to be placed in the non-smoking section and (vice versa as well) ? **Note:** Display message “ **Smoking is full, Non-Smoking???** ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? “ **Non-Smoking is full, Smoking???** ? ? ? ? ? If answer to any of the above question is **yes**, make appropriate seat? ? ? ? ? ? assignment in the program. ? ? ? ? ? If answer to any of the above question is **No,** display the message at the ? ? ? ? status bar of Applet window (very bottom of window)? that “***Next Fight leaves*** ***? ? ? ? in 3 hours****??* If both sections of the plane are full, and user tries to reserve / assign a seat in either section, message at the status bar of applet should appear as “**Plane full, next flight leaves in 3 hours**??. ? ## Some important points to consider **? ** **1:** As this is an applet program, it will have a full Graphical and Event handling capability. ? **2:** Your important GUI components **(use all Swing classes for GUI)** in this applet program are: ? ? ? ? a text field for input ( 1 or 2) ? ? ? ? two Labels to indicate the options to user (see above 2nd bullet) ? ? ? ? two buttons which will be pressed in response to the questions as mentioned ? ? above in bullet no. 8 ? **Note:** Please note that when your applet will start, initially these buttons will not function (make these buttons as disabled). Make them active (enabled) when either section of plane (Smoking or non-smoking) is full and you generate a message as stated above in last bullet 8. ? **3:** When applet will start, both buttons will be disabled and only activity on applet window will be through the input field (where user can either input 1 or 2) ? **4:** Please note that input text field can also be registered for action event listener as you normally do for buttons, for example. ? Therefore, when you will type 1 or 2 in the input field and press <ENTER> key, based on the event handling process, proper seat will be assigned and message will be displayed on the status bar as mentioned above in bullet No. 6. ? **5:** Every message will always be displayed in the status bar of applet window (very bottom line of the window) ? **6:** In your HTML file, use Width and Height parameters both 200 pixels.
Project ID: 3438820

About the project

11 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
11 freelancers are bidding on average $26 USD for this job
User Avatar
See private message.
$29.75 USD in 2 days
5.0 (161 reviews)
5.4
5.4
User Avatar
See private message.
$29.75 USD in 2 days
4.3 (26 reviews)
5.3
5.3
User Avatar
See private message.
$21.25 USD in 2 days
4.7 (46 reviews)
5.2
5.2
User Avatar
See private message.
$29.75 USD in 2 days
4.9 (40 reviews)
4.5
4.5
User Avatar
See private message.
$28.05 USD in 2 days
4.7 (25 reviews)
4.5
4.5
User Avatar
See private message.
$21.25 USD in 2 days
5.0 (17 reviews)
3.5
3.5
User Avatar
See private message.
$29.75 USD in 2 days
5.0 (24 reviews)
3.2
3.2
User Avatar
See private message.
$21.25 USD in 2 days
5.0 (25 reviews)
3.1
3.1
User Avatar
See private message.
$25.50 USD in 2 days
5.0 (10 reviews)
2.2
2.2
User Avatar
See private message.
$17 USD in 2 days
4.6 (3 reviews)
0.9
0.9
User Avatar
See private message.
$29.75 USD in 2 days
5.0 (1 review)
0.5
0.5

About the client

Flag of CANADA
Canada
5.0
8
Member since Jan 24, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.