Change Log

v1.3.6

  • Fixed background image path to be converted to absolute path in Panel and Window components.
  • Fixed wrong background image size when Panel and Window background image custom size is specified in percentages or pixels.
  • Fixed wrong gradient direction and image position for shapes’ backgrounds, plus better user input validation.
  • Fixed Window and Panel returning wrong background value .background()
  • Fixed Panel to have a transparent background by default.

v1.3.5

  • Fixed text components getting focused when selection or caret position was changed programmatically.
  • Fixed an issue where Shape’s background image path was not converted to an absolute path when loaded from a UI definition file.
  • Fixed ToolBar size issue where it wouldn’t maintain it’s set height when added to Window.toolBar(“top”, toolbar)
  • Fixed ToolBar child components’ size issue where they wouldn’t maintain their set size.
  • Fixed Window component visibility to return false after Window was closed by user interactively and Window close operation was Hide.
  • Updated JSDocs.

v1.3.2

  • Ships with latest version of FlatLaf 3.8 themes that fixed many of their bugs.
  • Many fixes in JSDocs.
  • Fixed a ToolBar infinitely expending when set as a top Toolbar and using FlatLaf theme.

v1.3.1

  • Many bug fixes, user input validations and code improvements in JavaScript API.
  • Many fixes in JSDocs.

v1.3.0

  • Added support for shapes defined in UI definition file. Visual GUI designer now supports adding shapes to Window and Panel.
  • Fixed a Separator being invisible in ToolBar.
  • Fixed an error when importing a shape from a stored JSON object.
  • Updated LICENSE file, removing unnecessary restrictions.

v1.2.2

  • Fixed KeyEvent.keyChar to be a string instead of an integer.
  • Fixed dragging a component with drag data type “Text”.
  • Updated Java path detection.
  • Added an option --java-home="JAVA DIRECTORY" to set you desired java runtime to use instead of auto-detecting its location from system’s PATH.

v1.2.1

  • Fixed Spinner component’s value out of range exception when setting min larger than value or max less than value.
  • Dropped java-bridge module dependency to improve compatibility with all operating systems and runtimes.

v1.2.0

  • Now toolbars can be added to any four Window locations from UI definition file (and in the visual GUI designer).
  • Fixed event.source in drop event data when ToolBar was a drag source.
  • Fixed Window.center() method when Window had an owner Window and needed to center to the owner.

v1.1.7

  • Fixed a DropAction.Copy behavior that didn’t accept drop action “Copy” on Panel and Window components.

v1.1.5

  • Fixed an error message that would pop up when user changes theme even when theme was changes successfully.
  • Fixed ui.writeFile() method flag argument. It accepts “a” and “w” values, where”w” is default.

v1.1.4

  • Fixed dead locks in multiple places where UI was modified from non-EDT.
  • Fixed .onKey() event handling in Window component. The event wasn’t emitting.

v1.1.1

  • Improved graphics drawing performance while reducing flickering on slower systems.
  • Fixes Panel painting over sibling components.
  • Fixed MediaPlayer component stretching to the size of the Window when added directly to the Window component.

v1.1.0

  1. Fixed and improved JSDocs.
  2. In font chooser dialog window make size combo box to allow typing custom font size.
  3. Added .rightClickSelect() method to Table and List components.
  4. Fixed the issue where FlatLaf theses didn’t initially show complete name of Tree items.
  5. Added ui.onScreensChange(callback) method to receive events when screen configurations change.
  6. Added insets object to Screen object to receive insets of a screen.
  7. Fixed screen position getter on Linux X11/XWayland systems, which was returning wrong Y coordinate.
  8. Improved screen scaling detection on Linux.

v1.0.7

  1. Updated and fixes JSDocs.
  2. Cleaned up JS code.
  3. Fixed Arc.holeSize() return value.
  4. Fixed a memory leak that kept incoming messages from JavaScript runtime.

v1.0.6

  1. Updated README.
  2. Fixed Table.selectedCell() and Table.editingCell().
  3. Updated JSDocs (fixes errors).
  4. Renamed type definition Cell to TableCell for clarity.

v1.0.5

  1. Fixed an error displaying issue.
  2. Added ui.doubleBuffer() setter/getter method to be able to disable and enable double buffering in java’s UI rendering.
  3. Improved panel graphics rendering on Linux.
  4. Updated messages text for better UX.

v1.0.4

  1. Fixed the UI rendering from UI definition file.
  2. Multiple fixes in UI definition schema.

v1.0.3

  1. Added .previousSibling, .nextSibling and .siblings getters to UI components.
  2. Updated JSDocs.
  3. Fixed this to reference the component that emitted an event when event handler is “javascript:…” string in UI definition file.
Scroll to Top