Skip to content

1.21.0

Choose a tag to compare

@Milchreis Milchreis released this 27 Jun 17:42
· 4 commits to master since this release

Update to UiBooster 1.21.0

New

  • Data-Binding (#123) allows to define variables for the input elements with default values and automatic update, when the UI element is changed by the user. (Example)
  • Bump org.drjekyll:colorpicker from 1.4.8 to 2.0.1
  • Button and Progress are accessible from FormElements (#100)
  • Custom colors for buttons (includes access methods to change the colors on runtime) (#104)
  • The Button action is now implementable by ButtonClickListener and allows access to the element and form (see)
  • The ListFormElement is now able to remove items from list (#102)
  • ProgressElement is now able to change the minimum and maximum value (#101)
  • Tooltips for FormElements
  • Adds size options to html text area to define the preferred dimension
  • Parameter for initial values for checkbox-selections added to form API
  • Now, a form can get an initialize listener, which is called after the creation of the form
new UiBooster().createForm("some form")
           .addText("Some text here ... ", ".......")
           .setInitListener(f -> System.out.println("This only called once"))
           .show();
  • HTML rendered text (uses the included Java Swing implementation which supports HTML 3.2)
  • Text areas as like as for exceptions (#85)
  • Adds margin option to form and form elements (#78)

Fixes

  • Unreachable dialogs on non-windows systems with modal forms (#121 - 🙏 thanks to @nicholasveronico)
  • Bumps com.formdev:flatlaf from 3.4 to 3.4.1.
  • Button in the form has no default theme settings if the background or foreground are not set
  • colorpicker updated from 1.4.4 to 1.4.5
  • disable option for elements is not properly working with startRow()/endRow()
  • The selected font will not correct returned by the form

Changes

  • Message in ExceptionDialog is editable (#84)

Breaking changes

  • Now ImageFormElement.getValue() returns the path to the image and not the ImagePanel anymore
  • Now ListFormElement.setValue() sets the selected elements and not the list of options. If you want to change the options you have to use setElements() method
  • Now TableFormElement.setValue() and getValue() uses a new TableData-wrapper-class instead of String[][]