top of page

India Travel Map

This project was a pair Java coding project where we created an app targeting a non-American culture. My partner Richard and I decided to create a travel app for the people of India to easily explore popular cities in their country and learn a little bit about that city. 

 

Before beginning, we researched Indian culture overall to get a better sense of the diverse culture before diving into the research of individual cities. Throughout the process we also gathered feedback from a user group of International students from India as well as first generation Indian-Americans.

The Interface

The home page has a regional map of India that allows the users to click on a region to find cities in that region. Once on the regional menu, the user can select a city to get information on population, primary language, places of interest, and famous food of the location. There are back buttons on the top right corners of all the sub-pages so the user can go back to the previous layered menu.

Basically, the 3 layers are the main map --> the regional menu --> the city info.

Additionally, on the main map page, there is a button in the bottom right corner that takes users to a different page that has all of the cities on one page. Users can then sort all of the cities to display alphabetically, or by region. These city buttons are also clickable and will take the user to the city page info.  

This slide deck shows examples of navigating using different paths. 

The Code

The code for this project was written in Java and included:

  • Java Swing 

    • JLayeredPane​

    • JTextPane

  • Inheritance

    • Abstract Classes​

  • Buttons and Action Listeners

  • Array Lists and Sorting

  • File Readers

All of the city information is read in from text files and the city names are stored in arraylists for each region. When a city button is clicked, the program finds the text file with the city name and generated a new window displaying the info read in from the file.  MapListener creates a RegionViewer which displays the cities in the selected region

© 2021 Mindy Altschul. Proudly created with Wix.com

bottom of page