Skip to content

A Java Swing-based Typing Speed Test project that helps users practice typing while measuring speed (WPM), accuracy, and completion time for each paragraph. Ideal for improving typing skills and real-time performance evaluation.

License

Notifications You must be signed in to change notification settings

Navitha55/Type-Speed-Test-using-Java-Swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Type-Speed-Test-using-Java-Swing

Java Swing-based typing test tool that lets users practice typing paragraph by paragraph with real-time feedback. It highlights correct and incorrect characters instantly, calculates WPM, accuracy, and time taken for each line. Users can pause/resume, restart, and navigate through paragraphs using the Next button. After each line, a summary popup shows performance stats, and a final report is displayed at the end. Perfect for improving typing speed with precision!

Features

โœ… Paragraph-by-Paragraph Typing

  • Displays one paragraph at a time from a predefined document.
  • Allows user to type the paragraph in a rich text input area.

โœ… Real-Time Character Highlighting

  • As you type:

    • Correct characters are highlighted in green.

    • Incorrect characters are highlighted in red.

    • Remaining characters are shown in default (black).

โœ… Pause & Resume Functionality

  • Use the Pause button to temporarily freeze typing.
  • Resume the session anytime without losing progress.

โœ… Restart Button

  • Clears the input and resets timer for the current paragraph.

โœ… WPM (Words Per Minute) Calculation

  • Automatically calculates typing speed using:
  • WPM = (Total characters / 5) / Minutes.

โœ… Accuracy Calculation

  • Measures how many characters were typed correctly:
  • Accuracy = (Correct characters / Total typed characters) * 100.

โœ… Per-Paragraph Result Summary

  • On successful completion of each paragraph:

    • A popup summary displays:
      • โฑ Time Taken (in seconds)
      • ๐Ÿ“ˆ WPM (words per minute)
      • ๐ŸŽฏ Accuracy (%)

โœ… Next Paragraph Button

  • Becomes active only after completing the current paragraph.
  • Loads the next line or paragraph from a loaded document or list.

โœ… Final Result Summary

  • After completing all paragraphs, shows:

    • ๐Ÿงฎ Total Time

    • โŒจ๏ธ Average WPM

    • ๐ŸŽฏ Average Accuracy

Contributing

  • Feel free to fork, improve the UI, add features like scoreboards or difficulty levels, and submit pull requests!

License

  • This project is open source and available under the MIT License.

  • Enjoy playing and learning Java! ๐ŸŽ‰
  • If you find this project helpful, please โญ star the repository.
  • If you want, I can help customize it further with your actual file/class names or add screenshots/instructions!

About

A Java Swing-based Typing Speed Test project that helps users practice typing while measuring speed (WPM), accuracy, and completion time for each paragraph. Ideal for improving typing skills and real-time performance evaluation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages