Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calendar

 
Stacy Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stacy Lee
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i really appriciate for ur answer...
it's really a big help..
javaranch is really good place to enhance programming skills...
thanks all!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic