![JAR search and dependency download from the Maven repository](/logo.png)
com.objogate.wl.swing.internal.ProbeRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of windowlicker-swing Show documentation
Show all versions of windowlicker-swing Show documentation
This is the Windowlicker Swing library.
The newest version!
package com.objogate.wl.swing.internal;
import java.awt.EventQueue;
import com.objogate.wl.Probe;
public class ProbeRunner implements Runnable {
private final Probe probe;
public ProbeRunner(Probe probe) {
this.probe = probe;
}
public void run() {
if (!EventQueue.isDispatchThread()) {
throw new IllegalStateException("Probe must be run on event dispatch thread");
}
probe.probe();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy