mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-27 15:15:30 +00:00
- Implement WizardCancelActionListener to handle cancellation actions. - Create WizardDialog for managing dialog windows with window listener. - Add WizardDialogCallback for handling dialog callbacks. - Introduce WizardNextActionListener for handling next actions in the wizard. - Develop WizardPanel to manage the wizard's layout and navigation. - Implement WizardRunnable to run wizard actions in a separate thread. - Define WizardStepCallback interface for step callbacks in the wizard. - Create YAxisSelectorLayoutRunnable for managing layout updates. - Add YAxisSelectorPanel for selecting Y-axis options in the UI. - Remove unused interfaces and classes (cP, cT, co, cx, dx, eR, eU, ev).
44 lines
1.1 KiB
Java
44 lines
1.1 KiB
Java
package com.efiAnalytics.ui;
|
|
|
|
import java.awt.AWTException;
|
|
import java.awt.MouseInfo;
|
|
import java.awt.Point;
|
|
import java.awt.Robot;
|
|
import java.util.logging.Level;
|
|
import java.util.logging.Logger;
|
|
|
|
class SleepPreventionThread extends Thread {
|
|
private boolean b = true;
|
|
|
|
SleepPreventionThread(dI paramdI) {}
|
|
|
|
public void run() {
|
|
try {
|
|
Robot robot = new Robot();
|
|
while (this.b) {
|
|
robot.delay(15000);
|
|
if (!dI.a(this.a)) {
|
|
Point point = MouseInfo.getPointerInfo().getLocation();
|
|
robot.mouseMove(point.x + 1, point.y + 1);
|
|
robot.mouseMove(point.x, point.y);
|
|
}
|
|
}
|
|
} catch (AWTException aWTException) {
|
|
Logger.getLogger(dI.class.getName()).log(Level.WARNING, "Unable to start Sleep Prevent", aWTException);
|
|
}
|
|
}
|
|
|
|
public boolean a() {
|
|
return this.b;
|
|
}
|
|
|
|
public void a(boolean paramBoolean) {
|
|
this.b = paramBoolean;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/com/efiAnalytics/ui/dJ.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |