Question 2: Designing a train ticketing system requires a user graphical input interface, including the ticket departure time, price, number of trips, and the current number of remaining ticket displays. requirements: 1. Tickets need to display the following information: departure time, price, number of trips, current number of remaining tickets; 2. Display of the remaining number of votes must immediately reflect the change in the number of votes; 3. The user interface is easy to change and even change at runtime. This problem is designed using the MVC architecture (using the observer mechanism), where the user input interface and the display view are displayed independently.
Question 2: Designing a train ticketing system requires a user graphical input interface, including the ticket departure time, price, number of trips, and the current number of remaining ticket displays. requirements: 1. Tickets need to display the following information: departure time, price, number of trips, current number of remaining tickets; 2. Display of the remaining number of votes must immediately reflect the change in the number of votes; 3. The user interface is easy to change and even change at runtime. This problem is designed using the MVC architecture (using the observer mechanism), where the user input interface and the display view are displayed independently.
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter12: Event-driven Gui Programming, Multithreading, And Animation
Section: Chapter Questions
Problem 1GZ
Related questions
Question
Software Architecture
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning