mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
stuff
This commit is contained in:
44
app/aW/ThreadExtensionInAwPackage.java
Normal file
44
app/aW/ThreadExtensionInAwPackage.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package aW;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
class ThreadExtensionInAwPackage extends Thread {
|
||||
boolean a = true;
|
||||
|
||||
h(e parame) {
|
||||
super("IS Blink");
|
||||
setDaemon(true);
|
||||
}
|
||||
|
||||
public synchronized void run() {
|
||||
while (this.a) {
|
||||
Color color = this.b.c.getBackground();
|
||||
this.b.c.setBackground(Color.YELLOW);
|
||||
try {
|
||||
wait(500L);
|
||||
} catch (InterruptedException interruptedException) {
|
||||
Logger.getLogger(e.class.getName()).log(Level.SEVERE, (String)null, interruptedException);
|
||||
}
|
||||
this.b.c.setBackground(color);
|
||||
try {
|
||||
if (this.a)
|
||||
wait(800L);
|
||||
} catch (InterruptedException interruptedException) {
|
||||
Logger.getLogger(e.class.getName()).log(Level.SEVERE, (String)null, interruptedException);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void a() {
|
||||
this.a = false;
|
||||
notify();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/aW/h.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
Reference in New Issue
Block a user