aspose file tools*
The moose likes Java in General and the fly likes timer : display reimnder in foreground Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "timer : display reimnder in foreground" Watch "timer : display reimnder in foreground" New topic
Author

timer : display reimnder in foreground

liliana punkt
Greenhorn

Joined: Dec 23, 2002
Posts: 16
Hi,
I implemented a timer that remembers me what to do during the day. This application should not be seen (not focussed).
It works quite well, but the message is on the desktop. So if I work with any other application in the foreground, I see my reminder the first time, when I close my application. This could be much too late for the dates I had.
Could you please tell me, how to see the reminder in the foreground, although I'm working with other applications?
Thanks,
Liliana
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You need to convince your operating system that it should be "always on top". Of course each OS has different ways of handling this . . .
So you will probably need to use some JNI to hook into a particular OS's way of doing this.


"JavaRanch, where the deer and the Certified play" - David O'Meara
liliana punkt
Greenhorn

Joined: Dec 23, 2002
Posts: 16
with a little delay:
thanks a lot. I see that I loose the platform independence when doing this. I didn't work with jni by now.
liliana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: timer : display reimnder in foreground