I have a piece of code with the swt command that does exactly what I need. However, there is a part that I want to split into another class, in particular, all the embedded material. In response to my previous question, it was suggested that Callable should be for implementing stream objects. It is suggested to use a runnable or better callable implementation, since I need some kind of return.
However, I do not understand. My problems:
- In the source code, some of the parent objects are called as part of the built-in implementation of the method launch. How to do this when the stream is split? Pass object through C'tor?
- In the source code, another executable is embedded in the runnable implementation. What is this for? How to implement this when splitting code? In addition, this nested runnable calls objects created by the main method again.
Please have mercy on me, but I'm still a pretty newbie, and my brain is almost crumbling :-( All I want is to separate all the petty things from another class and make the program the same as it already does. Please help!
Thank you again for any helpful suggestions, tips, examples, etc.
Regs me
source
share