Skip to content

HelloBigBoi124/project-chronometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏁 Race Timer - Timing System

Java
MySQL
Status

A complete system for timing racing teams, with database storage and report generation.


πŸ“š Table of Contents


✨ Features

  • πŸ•’ Digital stopwatch with second precision
  • 🏎️ Lap control and split times
  • πŸ’Ύ Data storage in MySQL database
  • πŸ“Š Report generation with team rankings
  • πŸ–₯️ Intuitive graphical interface built with Java Swing
  • ⏯️ Full race control: Start, Lap, Finish
  • πŸ”„ Automatic total time calculation

πŸ“‹ Requirements

Before starting, make sure you have the following installed:


βš™οΈ Installation

  1. Clone the repository:
git clone https://github.com/your-username/cronometro-corrida.git
  1. Open the project in your favorite IDE (Eclipse, NetBeans, IntelliJ, etc.)

  2. Configure the MySQL database:

CREATE DATABASE bd_relatorio;

USE bd_relatorio;

CREATE TABLE RELATORIOS (
    COD_EQUIPE INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    NOME_EQUIPE VARCHAR(255) NOT NULL,
    NOME_PILOTO VARCHAR(255) NOT NULL,
    TEMPO_TOTAL VARCHAR(255) NOT NULL,
    TEMPO_TOTAL_SEG INT NOT NULL
);
  1. Update the database connection credentials in the Java code if necessary (user, password, URL).

🏎️ Usage

  1. Run the program through your IDE.
  2. Fill in the team and driver information.
  3. Use the available buttons to control the race:
    • ▢️ Start: Starts the stopwatch
    • πŸ”„ Lap: Records the split time
    • 🏁 Finish: Finalizes the team's total time
    • πŸ’Ύ Save: Stores the data in the database
    • πŸ“Š Report: Displays the team rankings based on total time

πŸ’» Technologies

Technology Version Description
Java 17 Main application logic
Swing 1.1 Graphical user interface
MySQL 8.0 Data storage
JDBC 4.2 Database connectivity

πŸ‘₯ Contributors


About

A complete system for team race timing, featuring database storage and report generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages