DEV Community

Cover image for HOW I BUILT A DESKTOP DICTIONARY
betpido
betpido

Posted on

HOW I BUILT A DESKTOP DICTIONARY

DESKTOP DICTIONARY is a dictionary I made (2016) while in university studying computer science.

I took the words and their meanings from the open source Webster's Unabridged Dictionary.

TOOLS I USED:

Java programming language for coding and JAVAFX for designing (coloring) it.
A core i7 Asus laptop with memory of 8gb. It took me 2 days or so to build it.

HOW IT WORKS:

When the user opens the dictionary application, a text file containing the dictionary words and their meanings are loaded in the program using a List.

When a user enters a word into the search bar, his word is compared with the words in the List.

If a word matches, then the meaning attached to the words is displayed back to the user on a textArea.

FEATURES OF THE DICTIONARY:

Features of the Desktop Dictionary
It performs the function of a dictionary, but not all dictionaries contain antonyms and synonyms. This dictionary contains all that. I included features such as 'History' button, for viewing search history. Also 'Favorites' button, for viewing your favorite searched words, 'font size' button for making the texts bigger or smaller, etc. The dictionary allows you to search for an exact word, a word that starts/ends with a particular letter or phrase

Top comments (0)