何が問題なのですか
private final Object lock;
public synchronized void run() {
while (numItersCompleted < maxNumIters) {
while (guiState == GuiState.PAUSED) {
try {
lock.wait(); // problematic line
スロー:
java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)