Skip to content

v2.7.0 M1 support and module compliance

Compare
Choose a tag to compare
@weisJ weisJ released this 31 Jul 18:42
· 450 commits to master since this release

This release adds support for M1 on macOS. It also makes darklaf compliant with the module system introduced in Java 9.
A future release will add full support for modules.

NOTE:
If you are using JTabFrame with Java 16 or newer you may need to adjust your startup parameters for the best results.
All necessary information can be found in the console log upon startup.

Visual changes

  • Tables in html no longer have a border by default. e55440f
  • The arrow icons now specify visual paddings. 7c0171d
  • Imporved baseline calculation when using DarkSliderUI.KEY_USE_TRACK_AS_BASELINE.
    7762fb1

API Changes

  • Icons based on svg files can now declare visual paddings in teh xml by setting
    the visualPadding="top left bottom right"
    property on the top level xml tag. fe19e2e
  • FileTree is now deprecated. It's implementation will be moved to the swing-dsl
    project. 9b14afb
  • Added DarkPopupMenuUI.KEY_MAX_POPUP_SIZE to specify the maximum size for a JPopupMenu. If the preferred size of
    the popup is larger than that it will be wrapped inside an OverlayScrollPane.
    9ef6d06
  • The macos.useoloredTitleBar property can now be changed per window using DarkRootPaneUI.KEY_COLORED_TITLE_BAR.
    afd246a
  • Add UIManager property ComboBox.maximumRowCount to set the maximum number of rows displayed in a combo-box popup
    per theme. c352040

Other changes

  • Implemented M1 support on macOS.
  • Removed dependencies on internal jdk classes making darklaf almost module compliant.
  • Updated german translation. b71e769 by Peter Lemke
  • Updated polish translation. c9593dc by Pabilo8

Addressed issues

  • JTextArea, JtextPane etc. prevent garbage collection of the component hierarchy.
    3457eeb
  • Usage of UIUpdater prevents garbage collection of the component hierarchy. 8725b20
  • Changing the value of a JSpinner with the mouse wheel doesn't check whether the attempted value is valid.
    afaa9fb
  • The target indicator of a DnD operation of a JTabFrame isn't removed when the operation us canceled.
    5e5bba8
  • Fallback opacity keys of a svg are lost when changing the Laf. 7124da0
  • Non JTrabFrame drop targets may qualify as a valid destination. #236 8bdfbe7
  • Cell hint popups at the top/bottom of cells incorrectly calculate their size to the full area of the cell. #238
    8e6573b
  • Loading a native library which isn't supported results in an incorrect provider being set.
    8215cd1
  • JList paints cells incorrectly after an empty cell is encountered. 40f6bac
  • Fonts may not be replaced during installation for newer jdk versions. 1b0752e