Skip to content

tomyRomero/electricCompanyGUIApp

Repository files navigation

📋 Table of Contents

  1. 🖥️Introduction
  2. 🔍Problem
  3. 💡Solution
  4. 💻Tech
  5. 📝Final Comments
  6. 🖼️Graphics
  7. 📫Contact

The following application is an adaptation implementation of a desktop app for my local power supplier company and was created for educational purposes.

The application uses Java framework Spring to provide a Graphical User Interface experience. This was the first app I ever created during college and was used for a project.

I had limited knowledge back in the day and no access to database technologies, I had limited knowledge of database tools.

I wanted to save data and use that data to create User accounts and Login, while the changes are made in real-time, without knowledge of a database.

I created my own personal database with the use of Binary and Txt Files. When creating an account I would write to a User txt file then I would implement a scanner to create the account based on data on each line, each line represents an account. Then I would create a binary file off that data and store inside a folder called database, the database folder would contain numerous accounts, starting from 0 to however many accounts there are with the .dat file extension. This allowed me to serialize objects into binary files and read but also update the objects into the binary files I am using, this resulted in real-time updates of accounts and data being saved whereas even if the application is closed when I return to it all the changed data remained. Please feel free to test it yourself, one feature that shines with this method was the change password page, which would update the password in the text file as well as in the binary file.

  • Java Framework: Spring
  • Data Storage: Binary Files, Txt Files
  • Serialization: Java Object Serialization
  • GUI: Swing

The program uses an object-oriented programming approach and is a skeleton app in which more features can be implemented, it also comes with admin side functionalities that pave the path to more updates in the future, allowing open-source contributions.

Login

Create Account

Customer Home

Admin Home

Customer Account Info

Customer Change Password

Customer Account Payment

Customer Consumption

[email protected] LinkedIn

About

Java GUI application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages