Skip to content

SpringForm & ClassLibrary are Java applications that implement GUI forms using the Swing library. SpringForm manages contact information (Name, Telephone, Email, Address), while ClassLibrary handles book management. It includes a tabbed interface for registering and searching books, with data stored in a text file for persistence.

Notifications You must be signed in to change notification settings

ZTARSNOVA/SpringForm-ClassLibrary---SpringLayout-in-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

👩🏻‍💻SpringLayout in Java - SpringForm & ClassLibrary

SpringForm & ClassLibrary are Java applications that implement GUI forms using the Swing library. SpringForm manages contact information (Name, Telephone, Email, Address), while ClassLibrary handles books. It features a tabbed interface for registering and searching books, with data stored in a text file.

📚ClassLibrary

ClassLibrary is a Java Swing application that allows users to manage a book collection through a tabbed interface. Users can register books by providing details like title, author, year, plot, and setting. The application stores this data in a text file for persistence and displays the information in a table. Additionally, it includes a search function to find books by title, dynamically updating the table with the results.


💡This project was developed as part of a graded assignment for the Object-Oriented Programming course at Universidad San Ignacio de Loyola.


🟪 Register books

Users can easily register new books by entering details such as the book's title, author, year of publication, plot, and setting. Once registered, the data is stored in a text file (Libros.txt) to ensure that it persists between sessions. The registration form has fields for each of these attributes, and the interface checks that all fields are filled out before the book can be added, ensuring data completeness.

Form Interface

🟪 Search books

A built-in search functionality allows users to quickly search for books by their title. As users type in a search term, the application scans the stored book records and updates the display to show any matching entries. If no matches are found, a notification appears indicating that the book was not located. This makes it easy to manage and locate specific books, even in large collections.

Search Results

🟪 Data persistence

All the book information, including title, author, year, plot, and setting, is saved in a text file (Libros.txt) to maintain a persistent record. This means that even after closing and reopening the application, the registered books are reloaded from the file and displayed in the application’s table. This ensures that users do not lose any data between sessions.

Book Table

About

SpringForm & ClassLibrary are Java applications that implement GUI forms using the Swing library. SpringForm manages contact information (Name, Telephone, Email, Address), while ClassLibrary handles book management. It includes a tabbed interface for registering and searching books, with data stored in a text file for persistence.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages