Results 1 to 11 of 11
Thread: Program in foreground
- 03-31-2012, 11:14 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 16
- Rep Power
- 0
- 03-31-2012, 11:29 PM #2
Re: Program in foreground
The Window class has a method to keep the window on top.
The rest of your requirements would make a lot of people mad and require some cooperation from the OS.If you don't understand my response, don't ignore it, ask a question.
- 04-01-2012, 12:10 AM #3
Member
- Join Date
- Mar 2012
- Posts
- 16
- Rep Power
- 0
Re: Program in foreground
The whole point of the program is to make sure that my brother does not steal the computer while I am doing something else. This means that the program must not let him do anything on the computer without closing down the program, which is done by entering a correct password.
- 04-01-2012, 12:25 AM #4
Re: Program in foreground
Java can't do that.
If you don't understand my response, don't ignore it, ask a question.
- 04-01-2012, 12:37 AM #5
Member
- Join Date
- Apr 2012
- Location
- Long Island, NY
- Posts
- 6
- Rep Power
- 0
Re: Program in foreground
In the visual editor set the alwaysOnTop option to true/checked
- 04-01-2012, 04:23 AM #6
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 697
- Rep Power
- 6
Re: Program in foreground
You can just lock your computer and do something else :)
Website: Learn Java by Examples
- 04-01-2012, 06:23 AM #7
- 04-01-2012, 09:58 AM #8
Member
- Join Date
- Mar 2012
- Posts
- 16
- Rep Power
- 0
- 04-01-2012, 10:00 AM #9
Member
- Join Date
- Mar 2012
- Posts
- 16
- Rep Power
- 0
- 04-01-2012, 10:23 AM #10
Re: Program in foreground
That would not be a subject of discussion for New to Java. If you want to ask that on this site, start a new thread in Forum Lobby. If you do that, be sure to post a link to the new thread in this one.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-01-2012, 05:49 PM #11
Similar Threads
-
Executing a sh file from java program in foreground
By mfurtado in forum Advanced JavaReplies: 2Last Post: 07-03-2009, 08:35 PM -
To start external program with Runtime.getRuntime().exec(...) in foreground
By tilex in forum AWT / SwingReplies: 3Last Post: 04-02-2009, 08:16 PM -
Making your own font/foreground-background color?
By Durnus in forum Java 2DReplies: 6Last Post: 01-02-2009, 09:36 PM -
BackGround & ForeGround
By hungleon88 in forum Advanced JavaReplies: 3Last Post: 08-31-2008, 07:20 AM -
How to change the foreground color of a disabled control
By arunkumarsimhadri in forum New To JavaReplies: 0Last Post: 07-09-2008, 04:30 PM


LinkBack URL
About LinkBacks


Bookmarks