I set up GregorianCalendar so that I have two methods, minute, and hour. I have also created a Graphics 2D program that looks like a clock with an hour hand and minute hand. How do I get the hour hand and minute hand to move to the corrrect area on the clock without writing 72 if statements? Is their a way to use angles somehow? (I used drawString to draw the minute and hour hands.) Thanks
2007-03-17
14:31:34
·
1 answers
·
asked by
allan3177
1
in
Computers & Internet
➔ Programming & Design