Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Dictionary Project

A simple Java client/server dictionary application. The server loads word definitions from dictionary.json, and the Swing client connects to the server to search for words.

Requirements

  • Java 17 or newer
  • IntelliJ IDEA

The project uses Gson, included in lib/gson-2.10.1.jar.

Run in IntelliJ IDEA

  1. Open the project in IntelliJ IDEA.
  2. Run server.DictionaryServer.
    • Program arguments:
      3000 dictionary.json
      
    • Working directory: the project root.
  3. Run client.ClientGUI.
  4. Enter a word and click Search.

Always start the server before the client.

Run from a terminal

From the project root, compile the source files:

javac -cp "lib/gson-2.10.1.jar" -d out/production/DictionaryProject src/server/*.java src/client/*.java

Start the server:

java -cp "out/production/DictionaryProject:lib/gson-2.10.1.jar" server.DictionaryServer 3000 dictionary.json

In another terminal, start the client:

java -cp "out/production/DictionaryProject:lib/gson-2.10.1.jar" client.ClientGUI
Screenshot From 2026-09-19 05-34-11

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages