Giter VIP home page Giter VIP logo

ms2176 / java-gui-projects Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

5 Java GUI applications from first-year university coursework: a digital clock, font size adjuster, multiple-choice quiz, progress meter, and simple calculator. Each uses Swing to demonstrate fundamental Java GUI concepts like real-time updates, user interaction, file I/O, custom painting, and basic arithmetic operations

Java 100.00%

java-gui-projects's Introduction

Java GUI Applications

Overview

This repository contains a collection of Java-based graphical user interface (GUI) applications developed as part of a Year 1, Semester 2 software development course. Each application demonstrates different aspects of Java Swing and event handling.

Applications

Application Description Key Features
๐Ÿ•ฐ๏ธ DigitalClock.java Tick-tock! A simple digital clock that keeps you updated every second. โฐ Real-time display of hours, minutes, seconds, and AM/PM
๐Ÿ”„ Continuous updates
๐Ÿ”  FontSizeDisplay.java Pump up the volume (or the font size)! Adjust the size of the displayed character with a click of a button. โœจ Displays the character "X"
๐Ÿ”ผ Increase font size
๐Ÿ”ฝ Decrease font size
๐Ÿง  MultipleChoiceQuiz.java Test your knowledge with a fun multiple-choice quiz! ๐Ÿ“‚ Loads questions from an external file
โ“ Presents questions with four options
โœ… Immediate feedback on answer correctness
๐Ÿ† Final score display
๐Ÿš€ ProgressMeter.java Watch your progress soar with this visual progress meter. ๐ŸŒˆ Color-coded progress steps (red to green)
โณ Simulated progress advancement
๐Ÿ“Š Percentage display
โž• SimpleCalculator.java Crunch numbers with this basic calculator featuring a sleek graphical interface. โž— Supports addition, subtraction, multiplication, and division
๐Ÿ–ฅ๏ธ Clear display of calculations and results

Installation and Usage

  1. Prerequisites:

    • Java Development Kit (JDK) 8 or higher
    • Any Java IDE (e.g., Eclipse, IntelliJ IDEA) or a text editor
  2. Setup:

    • Clone this repository or download the source files
    • Open the project in your preferred Java IDE
  3. Running the Applications:

    • Compile and run each Java file individually
    • For MultipleChoiceQuiz.java, prepare a text file with quiz questions (format specified in the code comments)

Development

  • These applications were developed using Java Swing for GUI components
  • Each application demonstrates different concepts:
    • Timer usage (DigitalClock)
    • Dynamic component manipulation (FontSizeDisplay)
    • File I/O and event handling (MultipleChoiceQuiz)
    • Custom painting and user interaction (ProgressMeter)
    • Basic arithmetic operations with GUI (SimpleCalculator)

Contributing

While this is a coursework project, suggestions for improvements are welcome. Please open an issue to discuss proposed changes.

java-gui-projects's People

Contributors

ms2176 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.