Simple library

Java (11), Swing

While creating BankViewer, it became clear that some of the classes needed for this program would be needed in many other similar programs. It would always be necessary to display a message to the user, provide a status bar, localize the application, save some settings, work with Look and Feel, remember recently opened files, have predefined actions for frequently used actions, and be able to quickly and easily place input fields in windows. All of this was concentrated in the game.weekend.simplelibrary package during the development of BankViewer. Here I have moved this package from BankViewer into a separate module for use in future projects.

Eclipse was used for development. The project is located here: https://github.com/weekend-game/simplelibrary/ (EN) and here: https://gitflic.ru/project/weekend-game/simplelibrary/ (RU).

How to open the project in Eclipse

Download the repository to your computer. In Eclipse, select "Import..." from the "File" menu. In the window that opens, select "Existing projects into workspace." Navigate to the folder with the downloaded repository and click "Finish." The project will open in Eclipse.

How to use the library

The ready-to-use library is located in the app folder. You should include this library in the project you're creating and specify in the project's module-info file: requires game.weekend.simplelibrary;.

The doc folder contains documentation generated by the javadoc utility. The library is very simple, so you can simply browse its component classes. However, the best documentation is provided by the examples of using the library classes in the BankViewer application. In this application, all library classes are located in the game.weekend.simplelibrary package and are not implemented as a standalone module.

Results

I hope that the library will make it easier to develop future projects.