java code for airport management
#1
Wink 

Does anybody could give a code for Airport Managment JAVA?

I am student ta one european University. We have Objectorientinted Programming. The organisation of the course is so bad, that is impossible.
It is very hard for me and my friends that we small programming experance have.

Could some one help?

In a few sentences we must to :

We must to organise types of the Persons and Emloyes (abstract) and define Passangeres, Pilots, Steward., destination, orgijg, flight.... We habe also special enums of Passanger Identification (Passport , ID cars...) , enum of Pilot cathegory (captain and coplitot) and we habe types of the Airplanes and we have to connect it with a vectros clases. we habe some list of plane types and we need to implemetn vector to organise the:
Personmanagment, Flightmanagment origing and destinaiton managment.
ans also we have some crew and passngeres.
at the and we habe controller that schould implements all classes.

It to hard to axplain because of that that I dont unterstand it.

I would be really thankful if you could somwthing to help me.
Reply
#2
java code for airport management

import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
//import javax.swing.*;

/*
<applet code="loggedin" width=400 height=300>
</applet>
*/

public class loggedin extends Applet implements ItemListener, ActionListener, KeyListener{

Panel p1,p2,p3;
CheckboxGroup c;
Checkbox c1,c2;
Button b,logout;



public void init(){
setBackground(Color.GRAY);
p1=new Panel();
p2=new Panel();
p3=new Panel();


p1.setLayout(new FlowLayout(FlowLayout.LEFT));
p2.setLayout(new FlowLayout(FlowLayout.LEFT));

p3.setLayout(new FlowLayout(FlowLayout.RIGHT));
c=new CheckboxGroup();
c1=new Checkbox("Search for Flights",c,true);
c2=new Checkbox("Manage booking",c,false);

b=new Button("Proceed");
logout=new Button("Logout");


c1.addItemListener(this);
c2.addItemListener(this);
b.addActionListener(this);
logout.addActionListener(this);

p1.add(c1);
p2.add(c2);
p3.add(b);
p3.add(logout);

add(p1);
addHorizontalLine(Color.GRAY);
add(p2);
addHorizontalLine(Color.GRAY);
add(p3);
c1.addKeyListener(this);
c2.addKeyListener(this);
b.addKeyListener(this);

}

public void keyReleased(KeyEvent ke){}
public void keyTyped(KeyEvent ke){}


public void keyPressed(KeyEvent ke){
int key=ke.getKeyCode();

if(key==KeyEvent.VK_ENTER)
transfer(c.getSelectedCheckbox().getLabel());

} //keyPressed close



public void start(){
}


public void itemStateChanged(ItemEvent ie){
repaint();}

public void actionPerformed(ActionEvent ae){

if(ae.getActionCommand().equals("Logout")){

AppletContext ac=getAppletContext();
URL url=getCodeBase();

try{
ac.showDocument(new URL(url+ "login.html"));
System.out.println(url.toString());
//showStatus(url+"book.html");
}

catch(MalformedURLException e){
showStatus("Database is down.");}



}

else{
transfer(c.getSelectedCheckbox().getLabel());}
}


public void transfer(String s){

if(s.equals("Search for Flights")){

AppletContext ac=getAppletContext();
URL url=getCodeBase();

try{
ac.showDocument(new URL(url+ "book.html"));
System.out.println(url.toString());
showStatus(url+"book.html");
}

catch(MalformedURLException e){
showStatus("Database is down.");}



}

else{


AppletContext ac=getAppletContext();
URL url=getCodeBase();

try{
ac.showDocument(new URL(url+ "manage.html"));
System.out.println(url.toString());
showStatus(url+"manage.html");
}

catch(MalformedURLException e){
showStatus("Database is down.");}

}


}



public void addHorizontalLine(Color c)
{
// Add a Canvas 10000 pixels wide but
// only 1 pixel high, which acts as
// a horizontal line.
Canvas line = new Canvas( );
line.setSize(1000, 3);
line.setBackground©;

add(line);
}

public void paint(Graphics g){
}

}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: airport management project using java, powered by article dashboard airport code, airport management system project ppt, airport management system project in java, dfd of an airport management system**, airport management system for project, dfd of an airport management system**##12726## **dfd of an airport management system,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  simple java rmi chat application source code 2 19,256 20-07-2018, 12:08 PM
Last Post: Guest
  free download source code for online movie ticket booking in java 2 18,767 15-08-2017, 03:21 PM
Last Post: Morshed
  source code for rsa encryption and decryption in java 2 8,036 29-05-2017, 04:21 PM
Last Post: Meghna Jadhav
Thumbs Up online catering management system on php with report and source code and ppt 4 8,821 29-04-2017, 10:59 AM
Last Post: jaseela123d
  source code for task scheduling using genetic algorithm using java 2 8,547 11-04-2017, 08:31 PM
Last Post: Guest
  source code for suspicious email detection in java Parvesh.2595 2 1,030 23-08-2016, 04:05 PM
Last Post: seminar report asees
  ticket reservation java source code android 3 937 23-08-2016, 10:58 AM
Last Post: Guest
  blood bank management android app source code 2 982 19-08-2016, 12:43 PM
Last Post: shahidph
Photo prison management system with visual basic code 2 943 04-08-2016, 09:36 AM
Last Post: seminar report asees
  blood bank management android app source code 4 1,210 26-07-2016, 08:07 AM
Last Post: Guest

Forum Jump: