File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Calendar" Watch "Calendar" New topic
Author

Calendar

Stacy Lee
Greenhorn

Joined: Jun 09, 2001
Posts: 12
if u know the answer, please tell me...^^
1 how to show the local clock on my window frame ?
2 how to set the local clock using java code... ?
Thanks
Stacy
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Well now, setting the clock on a Windows PC using the JVM and setting the clock using the JVM on the computer chip in your palmPilot would be slightly different don't you think?
Quite operating system specific.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Here's the only way I know to make the clock show up in the frame border... use a thread to update the label on the frame... hopefully this is what you wanted...



-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Stacy Lee
Greenhorn

Joined: Jun 09, 2001
Posts: 12
i really appriciate for ur answer...
it's really a big help..
javaranch is really good place to enhance programming skills...
thanks all!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calendar