Do you have a data structure with all the jobs and their times: shortest start, shortest finish, longest start, longest finish? (I don't know the English terminology) I don't see where you save those values. Have an array for example with the jobs and their times.
Then create a new Frame that takes as argument those values and draw some graphs. When I was making my own GANTT chart, I used rectangulars with a fixed width and the length was the duration. Draw the 1st job at position (X,Y)=(0,0) with width and length=duration. Then as the loop progresses, draw the ith rectangular(job) at position below the previous rectangular (previous position: X + width) and to the right moved by the previous's length (previous position: Y + length).
Cpu Scheduling Algorithm Examples
Scheduling Algorithms Pdf
Let us learn how to implement round robin scheduling algorithm in C programming with its explanation, output, advantages and disadvantages.