This exercise involves designing a help-desk priority manager. Help requests are stored in a text file with the following structure: priority, id of requesting party, time of request The priority is an integer in the range 1–5 with 1 being the least important and 5 being the most important. The id is a four-digit employee identification number and the time is in TimeSpan.Hours, TimeSpan.Minutes, TimeSpan.Seconds format. Write a Windows application that, during the Form˙Load event, reads five records from the data file containing help requests, prioritizes the list using a priority queue, and displays the list in a list box. Each time a job is completed, the user can click on the job in the list box to remove it. When all five jobs are completed, the application should automatically read five more data records, prioritize them, and display them in the list box

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter14: Introduction To Swing Components
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

This exercise involves designing a help-desk priority manager. Help
requests are stored in a text file with the following structure: priority, id
of requesting party, time of request The priority is an integer in the range
1–5 with 1 being the least important and 5 being the most important.
The id is a four-digit employee identification number and the time is in
TimeSpan.Hours, TimeSpan.Minutes, TimeSpan.Seconds format. Write a
Windows application that, during the Form˙Load event, reads five records
from the data file containing help requests, prioritizes the list using a priority queue, and displays the list in a list box. Each time a job is completed,
the user can click on the job in the list box to remove it. When all five jobs
are completed, the application should automatically read five more data
records, prioritize them, and display them in the list box

Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Graphical User Interface
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning