Digital-Tally-Counter is a Java Swing application that allows the user to keep track of any type of count. It features a user-friendly interface with a button for incrementing the count and a label for displaying the current count. The user can reset the count to zero, save the current count, and change the color and font size of the UI. The program also includes a ComboBox to select between different count types (Counter, Push-ups Count, Prayer, Other).
To compile and run the program, follow these steps:
1. First you must have the Java Development Kit (JDK) installed on your machine. You can download the latest version of the JDK from the official Oracle website.
2. Download the DigitalCounter.java file from the GitHub repository.
3. Open a command prompt or terminal and navigate to the directory where you saved the file.
4. Compile the program by running the following command: javac DigitalCounter.java
5. Run the program by running the following command: java DigitalCounter
‣ Once you have launched the Digital Counter program, you can use it to keep track of any type of count.
‣ To increase the count, click on the "Count" button. To reset the count to zero, click on the "Reset" button.
‣ To save the current count, click on the "Save" button.
‣ To change the color of the UI, click on the "Change Color" button and select a new color from the color chooser dialog.
‣ To change the font size of the count label, click on the "Change Font Size" button and enter a new font size in the input dialog.
‣ To select a different count type, use the ComboBox to choose between "Counter", "Push-ups Count", "Prayer", "Tasbihat", and "Other".
If you would like to contribute to the Digital Tally Counter project, please feel free to fork the repository and submit a pull request with your changes. Before making any significant changes, please open an issue to discuss the proposed changes and ensure they align with the project's goals.