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.
Software Development Blog
Sunday, December 2, 2012
Thursday, November 29, 2012
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
Subscribe to:
Posts (Atom)