max_dub
asked on
Make the process wait for feedback
HI everyone
I am trying to achieve something like following and am not sure how to proceed..
i have a GUI for image analysis and in one instance of SwingWorker (when process button is clicked), i show a image to the user and i need to store the feedback of user for that image, but i need my process to wait for the user answer and set some values based on the feedback and
after getting the feedback, continue with the process or do some calculations and it repeats..
any pointers to achieve this .. or links?
I am trying to achieve something like following and am not sure how to proceed..
i have a GUI for image analysis and in one instance of SwingWorker (when process button is clicked), i show a image to the user and i need to store the feedback of user for that image, but i need my process to wait for the user answer and set some values based on the feedback and
after getting the feedback, continue with the process or do some calculations and it repeats..
any pointers to achieve this .. or links?
ASKER
hmm,
by feedback i mean, the user click on image and sets a value whether its relevant or not for the algorithm
and while this is taking place, the algorithm in the background should wait for the value to be set
and once it has the value; we proceed with the algorithm,,
can u explain ur answer a bit, am kind of confused?
by feedback i mean, the user click on image and sets a value whether its relevant or not for the algorithm
and while this is taking place, the algorithm in the background should wait for the value to be set
and once it has the value; we proceed with the algorithm,,
can u explain ur answer a bit, am kind of confused?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So, you must not wait, but let the Event happen.
;JOOP!