Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6151265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:44:43+00:00 2026-05-23T19:44:43+00:00

Basically i just need to create an application (with sort of user access) which

  • 0

Basically i just need to create an application (with sort of user access) which first screen is a fullscreen window that cannot be minimized or closed without entering valid username and password. Something like windows screensaver. Can it be done? What libraries should i look into? This is all i need, if my question is incomplete or unclear, feel free to ask!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T19:44:43+00:00Added an answer on May 23, 2026 at 7:44 pm

    Once, I wrote something in Java, out of which you can’t escape. Really impossible. It is for Windows. Here you go:

    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);
             focus();
             if (i++ % 10 == 0) {
                 kill("taskmgr.exe");
             }
             focus();
             releaseKeys(robot);
          }
          Runtime.getRuntime().exec("explorer.exe"); // Restart explorer
        } catch (Exception e) {
    
        }
      }
    
      private void releaseKeys(Robot robot) {
        robot.keyRelease(17);
        robot.keyRelease(18);
        robot.keyRelease(127);
        robot.keyRelease(524);
        robot.keyRelease(9);
      }
    
      private void sleep(long millis) {
        try {
          Thread.sleep(millis);
        } catch (Exception e) {
    
        }
      }
    
      private void kill(String string) {
        try {
          Runtime.getRuntime().exec("taskkill /F /IM " + string).waitFor();
        } catch (Exception e) {
        }
      }
    
      private void focus() {
        this.frame.grabFocus();
        this.frame.requestFocus();
      }
    }
    

    Background of this code: I wrote some kind of fake terminal in which I could let appear everything what I wanted. Eg, the stupid Windows messages like: “Keyboard not found, press any key to continue”. I used it as a joke on school. Fire up this app and leave the room, it would log out the Windows account automatically after one minute. But I hadn’t thought that there would be a teacher that used Ctrl–Alt–Del to kill my application. He left a message in my personal documents in which he wrote what he did and ended his message with “I’ve beaten you, haha I’m evil”. So, I wanted to go in competition with him. And then wrote this code. He tried more than five times in school to escape from the app, but he couldn’t (I can’t as well :D). Of course he could turn off the machine or log out. But the target was to access my personal documents.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I just need the id of the record on the first form so
I'm writing an application that is basically just a preferences dialog, much like the
I've used CCK to create a 'Travel Offer' content-type which basically just lists the
I need to create an application that allows users to design forms for various
I need to create a website launcher application for Windows Phone 7. Basically, it
We need to implement a Java desktop application that allows us (initially) to create
So I have site list on certain pages that basically just have links to
I have an MFC application. It is basically just copying files from one drive
I'm trying to create a web user interface for a Java application. The user
Basically I'm trying to create a SessionManager class which I can use to manage

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.