Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

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

Computer Science
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SEE EXPERT ANSWER

To see the expert answer you'll need to create a free account at Brainly

le-sigh crazy problems :p Any idea how to start this?
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
how do i use a gui to make the clock?

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

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.

Not the answer you are looking for?

Search for more explanations.

Ask your own question