AIS_errorFix(MileStone2)

1 view
Skip to first unread message

maHESH panchal

unread,
Oct 9, 2007, 10:22:36 AM10/9/07
to scit...@googlegroups.com

Hello sir,

I've fixed the error and here with I am sending code.

 

Sir,

 

I've some problems while coding

Can we have dynamic text Fields or lables.

As output of FlightInfo and booking info need to be shown by JTable.(I am still working on it)

But here I've shown it by using TextFields.

Now my required output may be dynamic. If flight available may be 1,2,3,4.. n numbers.

So how can I show dynamic?

Please review code & suggest us.

Thank you,

mahesh

AIS erroeFix.zip
ReadMe.txt

Parag Shah

unread,
Oct 14, 2007, 10:31:34 AM10/14/07
to scit...@googlegroups.com
Very nice.

Dynalic controls can be added to any Swing GUI at runtime. You just have to add the components based on your business logic to the appropriate parent component (the component which contains your text boxes, labels, etc).

It might also be good design to place all your components in a JPanel, such that the JPane is put in the JFrame.

There are still a lot of class attributes that are not private.

Also seperate your db logic from the UI logic by putting it in a separate class.

Please submit the final milestone by Tuesday, along with a user manual containing all the screens in your program.

--
Regards
Parag

Title: Airline Information System

Description: application for flight Information display & to book flight.

AIS contains:
1.      MainAIS.java
2.      BookingInfo1.java
3.      FlightInfo.java
4.      FlightAvailableTable.java
5.      PassengerInfo.java

These files are in src

And Database( AIS.mdb) file is in db folder

How to run:

Connect AIS.mdb
As odbc >> System DSN name: AIS
And execute  MainAIS.java

give City entries as
from: mumbai
to: bangalore

may be for other entries it will show null values(as database entries are not done for all flight)

Author :   Mahesh,  sushant, kshitij, ritika, sandip






Reply all
Reply to author
Forward
0 new messages