The "Bank" project is a Java application that provides a graphical user interface (GUI) for managing financial entries. It allows users to open files containing monetary data, display entries, and perform operations such as searching and inserting entries.
- Run the Main Class:
- Execute the 'Main' class to initiate the GUI.
- The GUI will provide options to open files, display entries, and perform various operations.
// Example command to run the Main class
javac Main.java
java Main- BankGUI.java:
-Contains the main GUI class with functionalities to display entries, create menu bars, and handle user interactions.
- EditMenuHandler.java:
-Manages actions related to the "Edit" menu in the GUI, including searching and inserting monetary entries.
- Entry.java:
-Defines the Entry class representing individual entries with log counts.
- FileMenuHandler.java:
-Handles actions related to the "File" menu, including opening files and quitting the program.
- Main.java:
-Initiates the GUI by calling the initiateGUI method in the BankGUI class.
- Money.java:
Represents monetary entries, including methods to convert and display monetary values.
- Print.java:
Provides functions for calculating and displaying total, mean, median, and mode of monetary entries.
- Open a File:
- Click on the "File" menu and select "Open" to choose a text file containing monetary amounts (e.g., text.txt).
- Display Entries:
- Entries will be displayed in the GUI, showing both unsorted and sorted lists.
- Search Entries:
- Use the "Edit" menu and select "Search" to prompt for a monetary amount. The GUI will display filtered entries matching the specified amount.
- Insert Entry:
- Use the "Edit" menu and select "Insert" to prompt for a new monetary amount. The GUI will display modified entries with the inserted amount.
Java Swing Library
Alfiya Valitova





