Skip to content

Mustfa-IT/Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swing Clock

A Java Swing program that displays an animated clock with hour, minute, and second hands.

Table of Contents

Introduction

This Java Swing program creates an animated clock with hour, minute, and second hands using the Swing library. The clock is displayed in a JFrame, and the hands are updated in real-time to show the current time.

Features

  • Animated clock display
  • Hour, minute, and second hands
  • Customizable clock size

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Mustfa-IT/Clock
  2. Open the project in your preferred Java development environment.

  3. Run the Program class.

Usage

Run the program, and a JFrame window will appear, displaying the animated clock. The clock hands are updated in real-time to reflect the current time. The clock size can be customized by modifying the JClock constructor.

Contributing

If you'd like to contribute to the project, feel free to fork the repository and submit a pull request. Bug reports, feature requests, and general feedback are also welcome!

License

This program is licensed under the MIT License.

About

this a simple Clock that extends the JComponent and add a Clock to it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages