I know that it can be used to run two instances of a class (that implement the Runnable interface) in parallel but can it also be used to run two methods of the same instance in parallel?
We have been working on this paint brush app project using the Java Swing library. We are required to involve multithreading in our project and are not sure where to use it.