Skip to content

Latest commit

Β 

History

History
64 lines (42 loc) Β· 1.99 KB

File metadata and controls

64 lines (42 loc) Β· 1.99 KB

Queue Visualization GUI - Code Date = Q1 2021

Overview

This project implements a Queue (FIFO) data structure using linked lists and provides a GUI visualization for user interaction.

Features

  • Implements a Queue using linked lists.
  • Supports enqueue, dequeue, size check, and visualization.
  • Graphical queue representation using Swing (JFrame).
  • Includes a parser that retrieves financial data.

Project Structure

πŸ“‚ Queue_Visualization_GUI

β”œβ”€β”€ πŸ“‚ src

β”‚ β”œβ”€β”€ πŸ“‚ pkg00825_luisalonsocendra_proyecto2

β”‚ β”‚ β”œβ”€β”€ Main.java # Entry point, initializes JFrame

β”‚ β”‚ β”œβ”€β”€ JFrame.java # GUI for interacting with the Queue

β”‚ β”‚ β”œβ”€β”€ Cola.java # Queue implementation using linked lists

β”‚ β”‚ β”œβ”€β”€ Nodo.java # Node structure for linked list

β”‚ β”‚ β”œβ”€β”€ MyCanvas.java # Graphics for visualizing the queue

β”‚ β”‚ β”œβ”€β”€ Parser_DSS_CDS.java # Parses financial data from URL

β”œβ”€β”€ πŸ“‚ build # Compiled Java classes (ignored in Git)

β”œβ”€β”€ πŸ“‚ dist # Packaged JAR file (ignored in Git)

β”œβ”€β”€ build.xml # Apache Ant build file

β”œβ”€β”€ manifest.mf # Manifest file for JAR packaging

β”œβ”€β”€ .gitignore # Ignore compiled files, NetBeans configs

β”œβ”€β”€ README.md # Project documentation

Installation & Running

Prerequisites:

  • Java Development Kit (JDK) 8 or later
  • Apache Ant (for building the project)
  • NetBeans (optional for development)

How to Run

  1. Clone this repository:
    git clone https://github.com/yourusername/Queue_Visualization_GUI.git
    cd Queue_Visualization_GUI
  2. Compile and run using NetBeans or command line:
    javac -d bin src/pkg00825_luisalonsocendra_proyecto2/*.java
    java -cp bin pkg00825_luisalonsocendra_proyecto2.Main

License

This project is licensed under the MIT License.