Skip to content

v1.4.3.0

Compare
Choose a tag to compare
@weisJ weisJ released this 24 Mar 17:08
· 1551 commits to master since this release

New in this release:

  • Whether check-boxes/radio-buttons in menus close the menu when clicked can be toggled.
  • TristateCheckBoxMenuItem added.
  • PopupMenus are now heavyweight by default.
  • ThemedIcons can now use fall-back keys when resolving the colour.
  • Buttons that meets the following requirements are automatically converted to a style that only paints a background on hover/click:
    • An icon is set.
    • No text is set or the text has length 0.
    • The button is not focusable.
    • The client property DarkButtonUI.KEY_NO_SHADOW_OVERWRITE is not set or false.
    • The global ui property "Button.convertIconOnlyToShadow" is not set to false.
  • The selection background of the lead selection cell in tables is not painted to make it easier to spot the currently selected cell.
  • Text fields no longer loose the selection when focus is lost.
  • When tooltips have the style BALLOON they are now automatically anchored to the component they target. This can be fine controlled with the DarkTooltipUI.KEY_CONTEXT. By default the following behaviour is used:
    • The tooltips centers horizontally w.r.t the component.
    • The tooltips aligns itself to the bottom of the component (ignoring the border)
    • If the tooltip doesn't fit the frame/screen it will automatically reposition itself to fit in. If this fails the defaults position given by swing is used.
  • Buttons can now be grouped together to appear as one (e.g. for use in a toolbar that has a toggle button group)
    • This is achieved by setting the client properties DarkButtonUI.KEY_CORNER and DarkButtonUI.KEY_*_NEIGHBOUR.
    • See GroupedButtonDemo.java for an example implementation.
  • Improved background of selected toggle buttons.
  • Improved icons in file chooser to have better contrast when button is selected.
  • The titlebar border is now not painted on windows when no menubar is used.

Addressed issues:

  • Scrollbar flickers while scrolling by dragging.
  • Sometimes cell renderers used the incorrect foreground when not focued.
  • Labels would not update their foreground colour when the laf is changed.
  • Text fields that are used as cell renderers used an incorrect background colour.
  • Trees flicker when a checkbox (used as renderer) is edited.
  • Popups flicker when first shown.
  • The window restore icon on Windows is incomplete.
  • Table cell editors have misaligned borders when the vertical borders of the table are disabled.
  • Some ui properties are not being applied to toggle buttons.
  • File chooser filter popup is hard to read.
  • Striped background in lists does not extend to the end of the viewport (e.g. in scroll panes).
  • Tables don't focus cell when editing starts.
  • Foreground of selected toggle buttons is hard to read.
  • Font is not an UIResource on macOS.
  • Custom spinner editors are not supported.
  • Unchecked usage of generics that prevent successful compilation with some compilers (e.g. eclipse compiler).
  • Combo box editor border does not survive laf change.
  • Minor painting issues when spinner/combobox is editable.