The Electricity Billing System is a Java Swing application designed to manage user logins and calculate electricity bills based on usage. The system is user-friendly and includes features for authenticating users, inputting billing information, and generating detailed bills.
- User Authentication: Secure login with username and password.
- Bill Calculation: Automatic calculation of electricity charges based on units consumed.
- Bill Generation: Detailed bill display including customer information and total amount due.
The Log_In
class handles user authentication. It provides a graphical user interface where users can enter their credentials to access the billing system.
The Bill
class is responsible for generating the electricity bill. It allows users to input their customer details and electricity usage, then calculates and displays the bill.
- Log In: Launch the application and log in using your credentials.
- Generate Bill: After logging in, input customer details and usage information in the billing interface.
- View Bill: Click the "Show Bill" button to generate and view the electricity bill.
- Log Out: To exit the billing system, click the "Log Out" button.