Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

disabling window movement

Thread view: 
pp - 03 Feb 2007 12:21 GMT
How would one go about disabling the ability to move a window around the
desktop without making the window undecorated?

Thanks.
zhengxianfu@gmail.com - 03 Feb 2007 13:04 GMT
> How would one go about disabling the ability to move a window around the
> desktop without making the window undecorated?
>
> Thanks.

Waitting For answer too.
Andrew Thompson - 03 Feb 2007 13:32 GMT
> How would one go about disabling the ability to move a window around the
> desktop without making the window undecorated?

Hold a gun to the user's head and say..
"Move that window, and I shoot!"
..either that or break their mouse (and
possibly the 'arrow' keys on the keyboard).

As an aside, why would you want to do
such a thing to your end-user.  Do you
hate them that much?

Andrew T.
Alex Hunsley - 03 Feb 2007 15:53 GMT
> How would one go about disabling the ability to move a window around the
> desktop without making the window undecorated?
>
> Thanks.

I've no idea, but why would you want to do that? It's the sort of thing
that would completely annoy the user (unless there were really specific
good circumstances for it).
Thorsten Kiefer - 03 Feb 2007 23:53 GMT
> How would one go about disabling the ability to move a window around the
> desktop without making the window undecorated?
>
> Thanks.

If there is a listener which is invoked when the window is moved, then
call setLocation(...) in this listener....
Or open a Dialog which says : "please wait until that windows is burned into you screen"
Then it wont move anymore !


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.