Find Jobs
Hire Freelancers

Java applet Assignment

$30-35 USD

Cerrado
Publicado hace más de 15 años

$30-35 USD

Pagado a la entrega
**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.
ID del proyecto: 3438820

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 15 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
11 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
See private message.
$29,75 USD en 2 días
5,0 (161 comentarios)
5,4
5,4
Avatar del usuario
See private message.
$29,75 USD en 2 días
4,3 (26 comentarios)
5,3
5,3
Avatar del usuario
See private message.
$21,25 USD en 2 días
4,7 (46 comentarios)
5,2
5,2
Avatar del usuario
See private message.
$29,75 USD en 2 días
4,9 (40 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$28,05 USD en 2 días
4,7 (25 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$21,25 USD en 2 días
5,0 (17 comentarios)
3,5
3,5
Avatar del usuario
See private message.
$29,75 USD en 2 días
5,0 (24 comentarios)
3,2
3,2
Avatar del usuario
See private message.
$21,25 USD en 2 días
5,0 (25 comentarios)
3,1
3,1
Avatar del usuario
See private message.
$25,50 USD en 2 días
5,0 (10 comentarios)
2,2
2,2
Avatar del usuario
See private message.
$17 USD en 2 días
4,6 (3 comentarios)
0,9
0,9
Avatar del usuario
See private message.
$29,75 USD en 2 días
5,0 (1 comentario)
0,5
0,5

Sobre este cliente

Bandera de CANADA
Canada
5,0
8
Miembro desde ene 24, 2007

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.