Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

creating clock face with current time


  • Please log in to reply

#1
ankush patel

ankush patel

    Member

  • Member
  • PipPipPip
  • 236 posts
hey,
im a novice at programming
for my college class i have to design a clock face with the current time.


It says to Design a class clock and supply a method to draw(graphics2d g2) that draws the clock

i need some help with this and where to begin.


I would greatly appreciate the help

thanks


Ankush
  • 0

Advertisements


#2
Hai Mac

Hai Mac

    Member

  • Member
  • PipPipPip
  • 260 posts
Which language? Anyways, get your maths skills ready, trigonometry will be handy :whistling:
  • 0

#3
ankush patel

ankush patel

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 236 posts
this will be done in java
  • 0

#4
MaverickSidewinder

MaverickSidewinder

    Member

  • Member
  • PipPipPip
  • 257 posts
If it was C++ Or VB I could have helped you, but Java...no sorry :whistling:

Anyway, a tip: Draw a clock without the hands, then put that as a background, after, draw 2 or 3 seperate hands (minute, second, hour) and code them to move after a certain time...

Can't help you on the code though, don't know java..

try google...it answers all questions
  • 0

#5
ankush patel

ankush patel

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 236 posts
i appreciate the help though

thanks alot!!

ill try google

thanks again
  • 0

#6
MaverickSidewinder

MaverickSidewinder

    Member

  • Member
  • PipPipPip
  • 257 posts
Your welcome :whistling: Sorry you didn't find what you were looking for
  • 0

#7
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 876 posts
are you still working on your clock face? we won't do your homework, but if you attach your code we can try to answers any questions you have.
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP