Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. How can I disable my Window 7 Desktop in Java

How can I disable my Window 7 Desktop in Java

Scheduled Pinned Locked Moved Java
questionjavahelp
25 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F flashery

    Yeah that's what I am afraid of using just pop up dialog. I think it much better if I am going to make full screen window with matching some keyboard disabled such as alt+tab, alt+escape and any other keyboard shortcut that will switch window to window. I think it is much better? How was it?

    T Offline
    T Offline
    TorstenH
    wrote on last edited by
    #21

    you can't do more than that. You don't know the other applications and have no complete control over the OS. Why should the user not be allowed to use other applications? You're talking about a timer, what should the user do when the timer runs?

    regards Torsten I never finish anyth...

    1 Reply Last reply
    0
    • L LaxmikantYadav

      You can use BlockInput() win32 API and call it in java using JNI. It will block the all input events of the system. :)

      F Offline
      F Offline
      flashery
      wrote on last edited by
      #22

      Wow let me try this solution.

      1 Reply Last reply
      0
      • L LaxmikantYadav

        You can use BlockInput() win32 API and call it in java using JNI. It will block the all input events of the system. :)

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #23

        Laxmikant_Yadav wrote:

        It will block the all input events of the system.

        MSDN says otherwise. Ctrl-Alt-Del still works, so the user could get into task manager and kill the blocking app. Peter

        Software rusts. Simon Stephenson, ca 1994.

        L 1 Reply Last reply
        0
        • P Peter_in_2780

          Laxmikant_Yadav wrote:

          It will block the all input events of the system.

          MSDN says otherwise. Ctrl-Alt-Del still works, so the user could get into task manager and kill the blocking app. Peter

          Software rusts. Simon Stephenson, ca 1994.

          L Offline
          L Offline
          LaxmikantYadav
          wrote on last edited by
          #24

          Thanks for sharing this.

          1 Reply Last reply
          0
          • F flashery

            Yeah that's what I am afraid of using just pop up dialog. I think it much better if I am going to make full screen window with matching some keyboard disabled such as alt+tab, alt+escape and any other keyboard shortcut that will switch window to window. I think it is much better? How was it?

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #25

            flashery wrote:

            think it much better if I am going to make full screen window with matching some keyboard disabled such as alt+tab, alt+escape and any other keyboard shortcut that will switch window to window.

            And AGAIN...you need to research 'kiosk'. And AGAIN...you cannot do all of that in java. So your choices are 1. Research all of the problems and then implement solutions with the understanding that some of the implementation will not be in java. 2. Go forward knowing that you cannot accomplish that in java. And as such a full screen display is going to be good enough.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups