Results 1 to 2 of 2
- 04-29-2012, 11:53 PM #1Member
- Join Date
- Apr 2012
- Rep Power
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
- By daniel.yatush in forum Advanced JavaReplies: 2Last Post: 01-10-2010, 08:33 PM
- By farzana shamim in forum Forum LobbyReplies: 1Last Post: 07-22-2009, 03:43 PM
- By solvognen in forum New To JavaReplies: 2Last Post: 07-21-2009, 08:37 AM
- By solvognen in forum Advanced JavaReplies: 1Last Post: 07-20-2009, 01:51 PM
- By thebillybobjr in forum SWT / JFaceReplies: 0Last Post: 05-15-2008, 05:52 PM