Karl Tauber
150bab0b57
Table: do not select text in cell editor when it gets focus (when JTable.surrendersFocusOnKeystroke is true) and TextComponent.selectAllOnFocusPolicy is once (the default) or always (issue #395 )
...
(cherry picked from commit f8b9f4c1fa )
2021-11-11 12:19:58 +01:00
Karl Tauber
efcbc1fbdb
Native window decorations: catch UnsatisfiedLinkError when trying to load jawt.dll to avoid an application crash (Java 8 on Windows 10 only)
2021-10-14 18:59:26 +02:00
Karl Tauber
1d08ddda60
InternalFrame: added missing since 1.6
2021-09-14 14:56:21 +02:00
Karl Tauber
578379fd00
Table and TableHeader: renamed UI keys Table[Header].showLastVerticalLine to Table[Header].showTrailingVerticalLine (issue #332 )
2021-09-14 14:31:17 +02:00
Karl Tauber
7c9f550d4c
ComboBox: fixed popup location if shown above of combo box (Java 8 only)
2021-09-14 14:16:53 +02:00
Karl Tauber
84d4510d70
ComboBox: fixed popup border painting on HiDPI screens (e.g. at 150% scaling)
2021-09-14 12:46:51 +02:00
Karl Tauber
fa194ec258
TableHeader: fixed missing trailing vertical separator line if used in upper left corner of scroll pane (issue #332 )
2021-09-14 00:52:59 +02:00
Karl Tauber
fd56de403d
Slider: fixed calculation of baseline (see also PR #214 )
2021-09-13 22:05:48 +02:00
Karl Tauber
b283178979
Spinner: fixed painting of border corners on left side (issue #382 ; regression since FlatLaf 1.4)
...
ComboBox (editable): fixed wrong border of internal text field under special circumstances
2021-09-10 16:37:07 +02:00
Karl Tauber
fca0718ed0
Native window decorations: fixed unwanted uninstall of native window border when using JInternalFrame (which has its own JRootPane) and invoking updateUI() on internal frame (e.g. in preview of FlatLaf Theme Editor)
2021-09-07 17:55:45 +02:00
Karl Tauber
0b6247851b
Theme Editor: fixed preview of focused list and table selection
2021-09-05 22:05:21 +02:00
Karl Tauber
824db2e3bd
Table and TableHeader: added UI defaults to show last vertical line (issue #332 )
2021-09-05 11:51:28 +02:00
Karl Tauber
d508f339c1
TableHeader: do not show resize cursor for last column if resizing last column is not possible because auto resize mode of table is not off (issue #332 )
2021-09-04 18:20:21 +02:00
Karl Tauber
b98b904023
added missing UI defaults to javadoc
2021-09-04 13:24:19 +02:00
Karl Tauber
b25fcc3381
OptionPane: fixed rendering of longer HTML text if it is passed as StringBuilder, StringBuffer, or any other object that returns HTML text in method toString() (similar to issue #12 )
2021-09-03 11:26:30 +02:00
Karl Tauber
51d7bc2c37
TextField, FormattedTextField, PasswordField and ComboBox: fixed alignment of placeholder text in right-to-left component orientation
2021-09-02 16:18:53 +02:00
Karl Tauber
cd20f4086b
Theme Editor: fixed preview of focused button in FlatDarkLaf (and probably other null value related issues)
2021-08-27 18:32:42 +02:00
Karl Tauber
97ca866ffa
OptionPane: fixed OptionPane.sameSizeButtons, which did not work as expected when setting to false
2021-08-23 16:53:23 +02:00
Karl Tauber
dab0ee3306
Theme Editor: added "live" preview
2021-08-21 18:09:59 +02:00
Karl Tauber
c6d1ed91a7
Menus: fixed missing modifiers flags in ActionEvent (issue #371 ; regression since FlatLaf 1.3)
2021-08-13 20:32:07 +02:00
Karl Tauber
a613a244f4
InternalFrame: double-click on icon in internal frame title bar now closes the internal frame (issue #374 )
2021-08-13 19:11:03 +02:00
Karl Tauber
268fe15004
Tree: improved support for JTree.getPathForLocation(int x, int y) in wide selection (issue #373 )
...
this is experimental and disabled by default; enable with:
`UIManager.put( "FlatLaf.experimental.tree.widePathForLocation", true );`
2021-08-13 00:19:34 +02:00
Karl Tauber
7bc9be686f
FlatLaf: use larger initial capacity for UI defaults table to avoid resizing hash table and to save some memory
2021-08-13 00:13:54 +02:00
Karl Tauber
0544a605c3
UIDefaultsLoader: added tint() and shade() color functions (inspired by Less CSS)
2021-08-05 23:37:42 +02:00
Karl Tauber
02b1ba2926
UIDefaultsLoader: added mix() color function (inspired by Less CSS)
2021-08-05 18:19:42 +02:00
Karl Tauber
7f7f9e3c7c
UIDefaultsLoader: added changeHue(), changeSaturation(), changeLightness() and changeAlpha() color functions (inspired by Sass CSS color.change() function)
2021-08-05 17:08:20 +02:00
Karl Tauber
f752db5892
FileChooser: fixed missing (localized) texts when FlatLaf is loaded in special classloader
...
(e.g. plugin system in Apache NetBeans)
https://issues.apache.org/jira/browse/NETBEANS-5865
2021-08-04 11:15:18 +02:00
Karl Tauber
bce58bc97b
SwingX: added search and clear icons to JXSearchField (issue #359 )
2021-08-03 17:52:49 +02:00
Karl Tauber
29064ec72f
Button and TextComponent: do not apply minimum width/height if margins are set (issue #364 )
2021-08-02 18:36:10 +02:00
Karl Tauber
953eee1dc8
TableHeader: made getRolloverColumn() public to allow usage in custom renderers (issue #336 )
2021-08-02 18:01:08 +02:00
Karl Tauber
75f76f4875
ComboBox and Spinner: limit arrow button width if component has large preferred height (issue #361 )
2021-08-02 15:27:25 +02:00
Karl Tauber
ecfbe68c33
Native window decorations: updated DLLs (issues #357 and #339 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/1085691279
2021-07-31 21:22:09 +02:00
Karl Tauber
4ab90065dc
Native window decorations: when resizing a window to the right or to the bottom, then first fill the new space with the window background color (instead of black) before the layout is updated (issue #339 )
2021-07-31 18:02:10 +02:00
Karl Tauber
60e5861de4
InternalFrame: limit internal frame bounds to parent bounds on resize; honor maximum size of internal frame (issue #362 )
2021-07-29 16:44:50 +02:00
Karl Tauber
ca7f5045ae
Popup: fixed incorrectly placed drop shadow for medium-weight popups in maximized windows (issue #358 )
2021-07-29 15:39:16 +02:00
Karl Tauber
37dab9fb22
TabbedPane: fixed rendering of tab separators in scroll layout if scaled on HiDPI screens
2021-07-12 11:48:34 +02:00
Karl Tauber
fb44c8fbe4
TextField: fixed location of placeholder text if paddings are used (e.g. in ComboBox) (for commit a9dcf09d13)
2021-07-10 21:05:26 +02:00
Karl Tauber
8b585deb78
ToolBar: support focusable buttons in toolbar (issue #346 )
...
fixed focusable state when switching to/from other Laf
2021-07-10 13:32:30 +02:00
Karl Tauber
548d651d29
PasswordField: move the lower bar of the caps lock icon up a half pixel
2021-07-10 11:03:13 +02:00
Karl Tauber
0b342acec9
PasswordField: paint caps lock icon on left side in right-to-left component orientation
2021-07-09 15:14:29 +02:00
Karl Tauber
cc6d3c1b1a
PasswordField: Caps lock icon no longer painted over long text (issue #172 )
2021-07-09 15:03:16 +02:00
Karl Tauber
1de81d0af5
ComboBox: fixed StackOverflowError when using single renderer instance in multiple comboboxes (regression since commit 4507ce359d)
2021-07-09 11:39:35 +02:00
Karl Tauber
ff9ef21f67
OptionPane: align wrapped lines to the right if component orientation is right-to-left (issue #350 )
2021-07-08 17:53:44 +02:00
Karl Tauber
266a546478
Window decorations: window title bar width is no longer considered when calculating preferred/minimum width of window (issue #351 )
2021-07-08 16:54:34 +02:00
Karl Tauber
87407ca832
Table and PopupFactory: use StackWalker in Java 9+ for better performance (issue #334 )
2021-07-08 14:02:50 +02:00
Karl Tauber
abbe6d6c1f
ToolBar: paint focus indicator for focused button in toolbar (issue #346 )
2021-07-07 18:17:45 +02:00
Karl Tauber
a28f701e6f
OptionPane: do not make child components, which are derived from JPanel, non-opaque (issue #349 )
2021-07-07 10:57:54 +02:00
Karl Tauber
4cdc995a7f
ComboBox: simplified code in configureEditor()
2021-07-05 23:14:05 +02:00
Karl Tauber
c708205593
TestFlatComponentSizes: shortened combobox text because unit tests on GitHub Actions use font size 15
2021-07-05 20:06:07 +02:00
Karl Tauber
a22c6c8013
ComboBox (not editable):
...
- increased size of internal renderer pane to the component border so that it can paint within the whole component
- increase combo box size if a custom renderer uses a border with insets that are larger than the default combo box padding (`2,6,2,6`)
2021-07-05 18:41:17 +02:00