I'm fairly new to java and was assigned a project to work on. It's regarding pipelining vs. non-pipelining. Here's my requirements:

Program must show execution times and CPI consisting of a form with 5 textfields to allow user to enter time for instruction fetch, instruction decode, execution, memory, and write back. Another textfield should be created for the total number of instructions. Captions must be used to display execution times and CPI for both pipelined and non-pipelined. Also, the program need to have a calculate and an exit button.

Can someone help me with some of this? Maybe some rough code...thanks!