เสร็จสมบูรณ์

assignment 2

Assignment: Orbital Fractals - Threads

This is the second part of a two-part project.

In the solution to part 1, you saw that, among other things, the # of dots to be drawn can be controlled from the GUI. (Actually, the code draws 1000 times the number entered into the GUI.) When this number is large, you will find that several seconds are required to complete the drawing. During that time, the GUI is "locked up" - unresponsive.

Your task is to further modify [url removed, login to view] (starting from your code or my solution to part 1) by moving the drawing code into a separate thread so that the GUI remains responsive at all times. Grading criteria are

Does your code compile once you have introduced the threading?

Does your threaded code still draw the graphics correctly?

Assuming both of the above are satisfied, can the GUI elements be manipulated even during a lengthy draw?

Assuming all of the above are satisfied, what happens when the colors or drawing parameters are altered during a lengthy drawing operation? Best would be that each such change causes the drawing thread to abandon the old draw and to start over with the new information. Next best is for the new information to be ignored until the first draw is complete and then have the fractal redrawn with the new information. Worst is for the fractal to be drawn partly with the old information and partly with the new.

Does your code display the fractal incrementally, or just display the completed figure (may depend on your processor speed)?

ทักษะ: Java

ดูเพิ่มเติม : java thread, fractal, graphics figure, compile java project, responsive elements, large drawing project, gui assignment java project, thread java assignment, java code assignment, threads java threads, assignment java graphics, assignment gui java, java start gui, java fractal, graphics assignment, assignment 1000, assignment gui, speed drawing, project java threads, drawing moving

เกี่ยวกับนายจ้าง:
( 6 บทวิจารณ์ ) norfolk, United States

หมายเลขโปรเจค: #5201696

มอบให้กับ:

nishants01

A proposal has not yet been provided

$30 USD ใน 1 วัน
(6 บทวิจารณ์)
2.8

freelancer 4 คน กำลังเสนอราคาเฉลี่ยที่ $29 สำหรับงานนี้

jap2013

Dear, I am trying to solve your problem. I have implemented the thread. Answer: 1. Compiled successfully. 2. Thread draw the graphics. 3. When the thread is busy with high processing, If we try to set new valu เพิ่มเติม

$29 USD ใน 0 วัน
(2 บทวิจารณ์)
1.2
vanpham

A proposal has not yet been provided

$30 USD ใน 3 วัน
(2 บทวิจารณ์)
1.0
aindriu

Hi, I know Java. I can take a look at the requirements and perhaps I can assist you in developing and designing the final piece. Andrew.

$25 USD ใน 3 วัน
(0 บทวิจารณ์)
0.0