I have a JFrame which has a JDialog which starts a
Thread to do a bunch of work. Somtimes the thread has to ask for guidance from the user. I've created another JDialog for this but what do I pass in as the parent owner? ie my super call is :
super(f, "Import Foreign Data", true);
where f is the parent. In my first level dialog I just use the owning frame. In this one I tried to use the owning dialog but it complains it has to be a JFrame. If I just substitute the JFrame, then I lose my handle to do progress updates. Do I really have to pass in both the owning JDialog and the owning JFrame?
What are the best practices for this?
thanks
ms