G&G Inc's Java Page
Keywords: java training key isam vsam btree hash database airline airport
Back to G&G Inc's home page.
Check out G&G Inc's training page.
Airport Code Lookup
This is a newer version, updated for Java 1.1.x. You can try it out if you are using Sun's HotJava(tm) browser, Netscape 4.05, or Netscape 4.02 to 4.04 with the Java1.1 upgrade package. You also will be able to use this applet if you have Internet Explorer 4 with SP1.
This applet allows you to type in a 3 letter airport code, push the "lookup airport code" button, and find the name of the city or airport associated with that 3 letter code. This program also allows lookup by city name, just type in a city name and press the "lookup city name" button. The program uses a two level b+tree file structure. This applet could be easily adapted to access other kinds of data. A hint: use full words like Saint and Fort, not abbreviations like St. or Ft.
Questions? Comments? Any errors or missing cities? Send a note to G&G Inc.
The source code is available here.
An older version of this applet is here.
A much newer version of this applet is here. ready for Java 1.2 (aka Java2).
For other Java applets and resources, look at Gamelan.
Garnatz and Grovender, Inc.
17 South 1st St. Apt A1202
Minneapolis, Minnesota 55401-1831 USA
Copyright © 1995, 2021 Garnatz and Grovender, Inc.