Quality Control Java Program
Hey everyone, new to Java-forums but I was wondering if possibly anyone could help me out. This is an extra credit assignment that we have until May 11th to complete, was wondering if anyone could help me out.
Quality Control: A system of maintaining standards in manufactured products by testing samples.
Book publishing is largely automated with print runs producing 1,000s of copies with one print run. The speed of the automated process along with the number of copies means that quality control takes some planning but it can be done.
Quality control starts before a full print run is launched when the publisher conducts a small trial run. These copies can be hand checked for errors. But this will not catch mechanical problems that occur during a large print run.
During a full print run basic issues can be monitored by the machines themselves; the paper supply and ink levels for example. Even small home printers do this. But book printing involves trimming pages to size and binding the book where pages could be dropped. But this can also be monitored by the machines themselves.
The books produced during the final sample run are identical to the books printed during a full print run. These books can be measure and weighed establishing a standard that the entire run must match. A simple approach would have each book weighted as it passes down the conveyer belt at the end of the process with any copy that deviates from the standard being pushed aside. The correct weight would be entered and software would compare the weight of each book to the standard before allowing it to be moved to a packing area.
You will write the software to implement this quality control solution. To simulate the weight readings the software will read a file. As the data is processed all books must be counted. The weight of each book is compared to the standard and if the weight varies by ±1 ounce the book is rejected. When a book is rejected that book’s number (from the count) is displayed along with “Rejected” and the book’s weight. Once the file had been processed the total number of books processed and the percentage rejected will be processed.
This program will require a GUI. There will be a button to initiate printing and another to exit the program. A text area will display the rejected messages as they occur. A text box will display the final data on the number of books and the rejection rate.
You will need to write a method to process the file then call that method from within the ActionListener. Attempting to read the file from within the ActionListener will cause serious problems
Re: Quality Control Java Program
Originally Posted by syhi332
Come on now. To get help you must first ask a specific and answerable question. So far all you've done is posted the assignment, and about all we can do is say, "yeah, well good luck with that."