Karl Tauber
9144b7206e
Accent color:
...
- added @accentXYZ variables that define all blueish accent colors
- all blueish accent colors are calculated based on @accentColor
(issue #233 )
2021-08-30 23:06:06 +02:00
Karl Tauber
dd14843f2e
Accent color: reduced number of individual blueish accent colors with color functions (issue #233 )
2021-08-30 23:06:06 +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
bfb1642284
UIDefaultsDump: dump HSL color values
2021-08-06 10:45:57 +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
d373687bc4
Testing: added FlatSingleComponentTest to easier test/debug single components
2021-08-03 15:16:04 +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
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
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
4d8b544aed
UIDefaultsKeysDump: also use FlatTestLaf, which adds missing keys to FlatLafUIKeys.txt
2021-07-10 13:28:02 +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
90282d4436
UI defaults dumps updated for issue #335
2021-07-08 00:02:33 +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
Karl Tauber
b576f473e5
fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java 8 only) so that Button, ComboBox, Spinner and TextField components (including subclasses) have same heights
2021-07-05 15:15:37 +02:00
Karl Tauber
3e14f28dc2
ComboBox (editable) and Spinner: increased size of internal text field to the component border so that it behaves like plain text field (issue #330 )
2021-07-02 18:43:37 +02:00
Karl Tauber
a9dcf09d13
TextField: support adding extra padding
...
(for #172 , #173 and #330 )
2021-07-02 15:38:45 +02:00
Karl Tauber
4f9b819f48
Spinner: reduced gap between up and down arrows, which was increased by previous commit (issue #329 )
2021-06-30 18:57:54 +02:00
Karl Tauber
511dd02107
JIDE: build using latest version of JIDE library com.formdev:jide-oss:3.7.12
2021-06-29 22:58:42 +02:00
Karl Tauber
d557cf5427
FlatTestFrame: do not print stack trace if lafs.properties does not exist
2021-06-27 21:36:49 +02:00
Karl Tauber
39d2941099
removed duplicate ;
2021-06-25 10:48:00 +02:00
Karl Tauber
2a732306a1
ComboBox: renamed UI key ComboBox.popupFocusedBackground to ComboBox.popupBackground
2021-06-22 08:59:11 +02:00
Karl Tauber
ed9cb0f918
Spinner: support Spinner.focusedBackground
...
ComboBox:
- prefer explicit set background color over focusedBackground
- if ComboBox.buttonFocusedBackground is not specified use ComboBox.focusedBackground
- added ComboBox.popupFocusedBackground
(issue #335 )
2021-06-15 11:50:30 +02:00
Karl Tauber
a51294d570
TextComponents:
...
- use focusedBackground only if editable (and enabled)
- prefer explicit set background color over focusedBackground
- added FlatTextFieldUI.getBackground() used by all text components
- support EditorPane.focusedBackground
- support TextPane.focusedBackground
(issue #335 )
2021-06-12 20:46:59 +02:00
Karl Tauber
29e1dc6b55
FlatTitlePaneIcon: use getResolutionVariant(width, height) instead of getResolutionVariants() to allow creation of requested size on demand and to avoids creation of all resolution variants
...
Extras: `FlatSVGUtils.createWindowIconImages()` now returns a single multi-resolution image that creates requested image sizes on demand from SVG
(issue #323 )
2021-05-14 16:43:47 +02:00
Karl Tauber
eea341fb33
Native window decorations: fixed broken maximizing window (under special conditions) when restoring frame state at startup (issue #283 )
2021-05-13 12:10:11 +02:00
Karl Tauber
38a3a0768d
Tree: fill cell background if DefaultTreeCellRenderer.setBackgroundNonSelectionColor(Color) was used (issue #322 )
2021-05-12 15:45:36 +02:00
Karl Tauber
03b42749cd
replaced deprecated (since Java 9) KeyEvent.*_MASK with KeyEvent.*_DOWN_MASK
2021-05-12 14:03:16 +02:00
Karl Tauber
cacf0ea987
ComboBox: support using as cell renderer (e.g. in JTable)
2021-05-04 21:39:08 +02:00
Karl Tauber
e6f72bf343
fixed some deprecation warnings when compiling with Java 11
2021-04-22 15:53:02 +02:00
Karl Tauber
d97146393c
renamed Flat*Laf.install() methods to Flat*Laf.setup() to avoid confusion with UIManager.installLookAndFeel(LookAndFeelInfo info); the old Flat*Laf.install() methods are still there, but marked as deprecated
2021-04-22 14:20:09 +02:00
Karl Tauber
9bd3a68115
update miglayout-swing from 5.3-SNAPSHOT to 5.3
2021-04-20 21:01:55 +02:00
Karl Tauber
4327c13dca
FlatTestFrame: moved 3rd party lafs to lafs.properties
2021-04-16 14:57:43 +02:00
Karl Tauber
4f2256f713
TableHeader: Moved table header column border painting from FlatTableHeaderUI to new border FlatTableHeaderBorder to improve compatibility with custom table header implementations (issue #228 )
2021-04-14 19:34:44 +02:00
Karl Tauber
ef7289d11a
Merge pull request #306 from JFormDesigner/jidetabbedpane
...
JideTabbedPane improvements
2021-04-13 16:29:49 +02:00
Karl Tauber
992349da8c
JIDE: JideTabbedPane: fixed close button in tab area, which was visible even if shown on tabs (regression in previous commit)
2021-04-13 12:06:28 +02:00
Karl Tauber
2e7637f274
JIDE: JideTabbedPane: fixed close button in tab area
2021-04-13 11:25:42 +02:00
Karl Tauber
1f8eaf4a64
JIDE: JideTabbedPane: fixed scroll and list buttons
2021-04-13 10:51:04 +02:00
Karl Tauber
a7a4a19824
DesktopIcon: use derived color for icon background, based on background color of JDesktopPane
2021-04-11 14:48:19 +02:00
Karl Tauber
1798ccd284
Merge pull request #294 from lsimediasarl/main
...
Fixed JInternalFrame iconified content snapshot for already installed DesktopManager
2021-04-10 00:05:02 +02:00
Karl Tauber
ab1ce7fab1
DesktopPane: avoid using two instances of DefaultDesktopManager if a custom desktop manager is used/wrapped (see PR #294 )
2021-04-09 18:17:15 +02:00
Karl Tauber
5eab843d97
Button and ToggleButton:
...
- updated CHANGELOG.md for #276
- FlatComponentsTest: use FlatButton and FlatToggleButton
- FlatButtonUI: avoid unnecessary reading client property if shadowColor is null, which is the case in most themes
2021-04-09 11:44:59 +02:00
Karl Tauber
c55f0e239e
Merge pull request #276 from ingokegel/border_less_button
...
Added ButtonType.borderLess
2021-04-09 11:17:11 +02:00
Karl Tauber
77fc564e70
TabbedPane: fixed actions scrollTabsForwardAction and scrollTabsBackwardAction when used from outside (e.g. in NetBeans)
2021-04-08 01:15:29 +02:00
Karl Tauber
a4d70d8095
FlatTextComponentsTest: fixed compiler warnings (for previous commit)
2021-04-07 10:34:11 +02:00
Karl Tauber
8fcce349d5
ComboBox and Spinner: fixed too wide arrow button if component is higher than preferred (issue #302 )
2021-04-07 01:39:29 +02:00
Karl Tauber
f456185f7d
Native window decorations: support changing title bar background and foreground colors per window (via client property)
2021-04-05 14:19:41 +02:00
Karl Tauber
6addb5c4b4
Native window decorations:
...
- API to check whether current platform supports window decorations `FlatLaf.supportsNativeWindowDecorations()`
- API to toggle window decorations of all windows `FlatLaf.setUseNativeWindowDecorations(boolean)`
- `FlatClientProperties.USE_WINDOW_DECORATIONS` can now used to toggle window decorations for single window
- cleaned-up/fixed/simplified window decorations "enabled" checking:
1. if `FlatSystemProperties.USE_WINDOW_DECORATIONS` is set, its value is used
2. if `FlatClientProperties.USE_WINDOW_DECORATIONS` is set, its value is used
3. use value of UI default `TitlePane.useWindowDecorations`
2021-04-03 11:13:57 +02:00
Karl Tauber
1b5da0e1d1
Window decorations: support enabling/disabling unified title bar backgrounds at runtime without FlatLaf.updateUI()
2021-03-30 01:34:34 +02:00