Giter Club home page Giter Club logo

desjava's Introduction

Overview

This Java application demonstrates a simple implementation of a messaging system with encryption and decryption functionalities, using a Swing graphical user interface (GUI). The application is divided into two main parts: Receiver and Sender, each represented as separate classes in the package Application. Additionally, it utilizes a custom UI component VerticalFlowLayout from the UIs package for layout management.

Components

  1. Receiver: Handles the display and decryption of received messages and files.

    • Displays decrypted data, key, and plaintext in text areas.
    • Uses a BufferedReader to read decrypted data from a file.
  2. Sender: Manages sending messages and files with encryption.

    • Provides a GUI with two tabs: one for sending messages and another for sending files.
    • Implements file selection and encryption/decryption through JFileChooser and custom encryption logic.
  3. Key_generator_UI: A utility class for generating and displaying encryption keys (not fully detailed in the provided code).

  4. Key_generator: A utility class for encryption key management (assumed based on context).

  5. Locker: A class used for file encryption and decryption (assumed based on context).

GUI Layout

  • The Receiver and Sender classes each create a JFrame with various components like JLabel, TextArea, and JButton.
  • VerticalFlowLayout is used to arrange components vertically.
  • In Sender, a JTabbedPane is used to separate the message sending and file sending functionalities.

Encryption & Decryption Process

  • The application seems to involve a process of encrypting and decrypting messages and files, although the specifics of the encryption algorithm are not detailed in the provided code.
  • Key_generator is assumed to play a crucial role in managing encryption keys.

Setup and Execution

  1. Prerequisites: Ensure Java is installed on your system.
  2. Compilation: Compile the Java files in the Application and UIs packages.
  3. Running the Application: Run the Sender class to start the application. It will also instantiate the Receiver part of the application.

desjava's People

Contributors

keviniscaiji avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.