Link to home
Start Free TrialLog in
Avatar of max_dub
max_dubFlag for Ireland

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?

 
Avatar of sciuriware
sciuriware

The feedback from the user is just an Event fired into 'actionPerformed()'

So, you must not wait, but let the Event happen.

;JOOP!
Avatar of max_dub

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?
ASKER CERTIFIED SOLUTION
Avatar of sciuriware
sciuriware

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial