有一次,我用
Java写了一些东西,你无法逃脱.真的不可能.它适用于Windows.干得好:
import java.awt.Robot;
import javax.swing.JFrame;
public class WindowsSecurity implements Runnable
{
private JFrame frame;
private boolean running;
public WindowsSecurity(JFrame yourFrame)
{
this.frame = yourFrame;
new Thread(this).start();
}
public void stop()
{
this.running = false;
}
public void run() {
try {
this.terminal.getParentFrame().setAlwaysOnTop(true);
this.terminal.getParentFrame().setDefaultCloseOperation(0);
kill("explorer.exe"); // Kill explorer
Robot robot = new Robot();
int i = 0;
while (running) {
sleep(30L);
focus();
releaseKeys(robot);
sleep(15L);
foc