FifeCommon icon indicating copy to clipboard operation
FifeCommon copied to clipboard

A base library for building Java Swing applications.

FifeCommon

Java Build Java Build

FifeCommon is a base library for building Java Swing applications. It handles the following tasks:

  • Application lifecycle (bootstrap, plugin loading, cleanup, shutdown)
  • Preference loading and saving
  • User-configurable key bindings
  • Standard modals for Options, Help, About, Printing
  • File chooser (richer feature set and improved usability over JFileChooser)
  • Dockable windows

For a working example of an application built with library, see the following projects:

  • Edisen - A work-in-progress NES IDE
  • RText - A programmer's text editor

FifeCommon is available in the Maven Central repository (com.fifesoft.rtext:fife.common:XXX).

Building

FifeCommon uses Gradle to build. To compile, run all unit tests, and create the jar, run:

./gradlew build --warning-mode all

Note that FifeCommon requires Java 17 or later to build.