Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

liliy

java: GUI: Write a StillClock class that displays a randomly generated time. The clock should have a hour, minute, and second hand, and should display the time in numeric form also (the hands may be tricky to display correctly, remember your trigonometry!). Extra credit: Make the clock tick (hint: make a while (true) loop with Thread.sleep(...)).

  • one year ago
  • one year ago

  • This Question is Closed
  1. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 0

    le-sigh crazy problems :p Any idea how to start this?

    • one year ago
  2. OttoMan
    Best Response
    You've already chosen the best response.
    Medals 1

    Start with generating your time values, example: int hour, randomly select between 0 and 12 int minute, randomly select between 0 and 60 use console to print these values then start with the gui

    • one year ago
  3. liliy
    Best Response
    You've already chosen the best response.
    Medals 0

    how do i use a gui to make the clock?

    • one year ago
  4. KonradZuse
    Best Response
    You've already chosen the best response.
    Medals 0

    As I've seen from one of the new JavaFX 8 samples for the clock you use rotations for the ticks, and set up tick marks and numbers on the clock. You will basically need to create a circle and work from there.

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.