Java Reference
In-Depth Information
4 . Extra challenge: Create an applet that displays the current time, updated once per
second.
To accomplish this, you will need to do a little research. Here is a hint to help you get
started: One way to obtain the current time is to use a Calendar object, which is part
of the java.util package. (Remember, Oracle provides online documentation for all
of Java's standard classes.) You should now be at the point where you can examine
the Calendar class on your own and use its methods to solve this problem.
Search WWH ::




Custom Search