Sunday, December 2, 2012

Created a method that interpolates the position of trains based on time remaining before arriving at the next stop in the list of predictions. Trains now are drawn next to each other on the lines, at the stops and with interpolated positions between the stops. Trains are colored based on direction. Created a mouseover event that displays the train's ID and the stop's names. 

Thursday, November 29, 2012

Created a function that allowed me to click on the map and define custom stop locations. Trains now travel from stop to stop. Changing the drawing of the map to use graphics to draw the train on the map. Working implementing scaling. 

Thursday, November 15, 2012

Finished laying out the GUI elements, using GridBagLayout and several internal JFrames to organize everything efficiently. Wrote functions to create elements such as the time selection spinner, populating it with an array of string between a min and a max, as well as a drag and drop function for the map. The GUI is now easily resizable and all elements fit snugly on the screen without clipping, vanishing or breaking. 

Tuesday, November 13, 2012

First Post

We haven't done any work on the project since our last submission, but we plan on making additions and changes to the underlying architecture to adhere more closely to the Model View Controller architecture. 
My last contribution to the program was the creation of the view component that draws the JFrame and all Java GUI components, as well the creation of the map in Adobe Photoshop. furthermore, Adam and I fed the JSON data into the JTable displayed in the GUI. We Connected the views class with the json parser and used the class's get methods to retrieve train data and populate the table with it. On Thursday we plan to further improve the interface as well as obtain more information to place on the map, and make the map interactive. 

Nikita Filatov