Please
review the Section-3 code to see, how one could the
Raju’s GUI-Class for the Airplane in any application.
The Java-class for the Airplane accepts wide range of
information to initialize the Airline component’s
state. Once the Airline-Object is initialized, one may
use CGM() to get the AC;s code. For the purpose of testing,
this JSP file is using the static-data, but one may
get the data for the Flight from appropriate data sources. |