Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JFrame usage  RSS feed

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
Just want to know if it is possible to have JFrame or any component to cover the entire computer page including the taskbar. What I am looking for is an application that looks like a screensaver but not necessarily screensaver, that will require password input to get deactivated.
Or rather any sort of component that will freeze all action on the Windows page until either password is typed to get rid of the freeze action.
Please any suggestion will be welcome.

Thank you all.
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

What you probably want is more of a JWindow, rather than a JFrame. However, how would you avoid the user pressing Ctrl-Alt-Delete?
 
author and iconoclast
Sheriff
Posts: 24219
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to look at the fullscreen exclusive mode API.
 
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think alt-tab would get around fullscreen exclusive mode on Win. You might want to look at the actual Java screensaver stuff. Not really familiar with it, I think it's part of the JNDI stuff (one of those acronyms, whichever is the desktop components).
 
I can't take it! You are too smart for me! Here is the tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!