AIS_final Project submission

2 views
Skip to first unread message

maHESH panchal

unread,
Oct 17, 2007, 7:40:58 AM10/17/07
to scit...@googlegroups.com

Hello sir,

Here we are submitting final code for AIS,

Highlights of final submission:

1.     We used JTables to display flight Available

2.     All attributes are made private.

3.     User manual.

4.     Separated Db logic from UI logic.

5.     Used package name: edu.scit.ais

 
>>Dynamic controls can be added to any Swing GUI at runtime.

We solved this problem using JTable

 >>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).

Dynamic rows depends upon data retrieved from DB

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

Sir, I all ready tried design by using panel(in milestone1: bookingInfo.java)
but creates some problem while calling object.

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

All most all the attributes are made private.

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

Here, I separate DB logic from UI logic for passenger info class.
By using public get---( ) return String; getter / setter method : as attributes are privet. And need to be accessed in DbLogic Class.
Only for flightJTable class is not done. it's getting tedious to seprate UI n Db logic as the values from data base are passed to table.

 

Please review code & give us suggestions,

Thank you,

mahesh

AIS_FinalProject.zip
AIS_User Manual.doc
ReadMe.txt
Reply all
Reply to author
Forward
0 new messages