my dog learned polymorphism
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


Stacy Lee

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... ?
Cindy Glass
"The Hood"

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

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...


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

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:
subject: Calendar
jQuery in Action, 3rd edition