February 12, 2021

Nick

Creating a GUI in 5 minutes with UiBooster

Don't struggle with GUI programming in Java - use UiBooster for easy dialogs

Java

🚀 Creating a GUI in 5 minutes with UiBooster

UiBooster is a lean library to create fast and easy dialogs for utility tools. It equips your applications blazing fast with GUI components to increase the comfort for your users.

It's based on Java swing components to run on current JREs without any struggle. This library encapsulates the long and sometimes complicated GUI code and leaves more clarity in your project.

I decided in 2019 to create this project, because I missed something like zenity for my Java applications. It started with a some basic input dialogs, but today I proudly release version 1.10.0 with a lot of new features.

Example form

The most powerful element of UiBooster is the form element. It provides a lot of components which can be use with only one line of code. Moreover the form can be equipped with custom elements, if you need something special.

screenshot gallery dialog

UiBooster booster = new UiBooster();
FilledForm form = booster.createForm("Personal information")
            .addText("Whats your first name?")
            .addTextArea("Tell me something about you")
            .addSelection(
                    "Whats your favorite movie?",
                    Arrays.asList("Pulp Fiction", "Bambi", "The Godfather", "Hangover"))
            .addLabel("Choose an action")
            .addButton("half full", () -> booster.showInfoDialog("Optimist"))
            .addButton("half empty", () -> booster.showInfoDialog("Pessimist"))
            .addSlider("How many liters did you drink today?", 0, 5, 1, 5, 1)
            .show();

Moreover you have to add the following JitPack-Repository and the dependency to you Maven pom.xml

<repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
      <groupId>com.github.Milchreis</groupId>
      <artifactId>UiBooster</artifactId>
      <version>1.10.0</version>
  </dependency>
</dependencies>

If you interested to learn more about UiBooster, look at the GitHub page to see all components and dialogs.

screenshot warn dialog

A simple warn dialog

screenshot confirm dialog

A simple confirm dialog

screenshot multiple selection dialog

A multiple selection with text input for filtering

screenshot color dialog

A basic color picker

screenshot datepicker

A basic date picker

screenshot exception dialog

A dialog window for presenting an exception stacktrace

screenshot list dialog

A list dialog with optional image and subtitle

screenshot table dialog

A table dialog with readable and writeable data

screenshot gallery dialog

System tray menus are possible, too

screenshot gallery dialog

Starting a notification in one line of code

Nick

I started developing UiBooster in 2019 as side project, because I missing something like that in Java