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
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
Karl Tauber
8e49904f8d
JIDE: JideTabbedPane: fixed location of tab title editing box
2021-03-27 18:22:10 +01:00
Karl Tauber
69f52c8abd
JIDE: JideTabbedPane: scale tab gripper
2021-03-27 17:48:58 +01:00
Karl Tauber
923cc51f3e
JIDE: JideTabbedPane: FlatJideOssContainerTest updated (based on FlatContainerTest)
2021-03-27 12:18:06 +01:00
Karl Tauber
c24ce7c5bc
Native window decorations: fixed broken maximizing window when restoring frame state at startup (issue #283 )
2021-03-25 10:32:24 +01:00
Karl Tauber
8a6a0c7971
Native window decorations: fixed missing animations when minimizing, maximizing or restoring a window using window title bar buttons (issue #282 )
2021-03-24 23:59:59 +01:00
Karl Tauber
14fc652f4b
Window decorations: fixed right aligned progress bar in embedded menu bar was overlapping window title (issue #272 )
2021-03-23 19:23:18 +01:00
Karl Tauber
ce1a1487aa
support menu bars in JDialog
2021-03-23 14:58:53 +01:00
Karl Tauber
fe1e364a1d
Native window decorations: support disabling native window decorations per window via client property (issue #277 )
2021-03-23 13:18:07 +01:00
Karl Tauber
eabb052107
Native window decorations: fixed double window title bar when first disposing a window and then showing it again (issue #277 )
2021-03-23 10:07:43 +01:00
Ingo Kegel
ae8323e2f8
Added ButtonType.borderLess for buttons that look like toolbar buttons but have a focus indicator.
...
This behavior can be achieved with JideButton, but it would be preferable to use FlatButton instead.
2021-03-22 16:45:37 +01:00
Karl Tauber
e9b566241d
JIDE: support JideSplitButton and JideSplitToggleButton
2021-03-19 15:39:32 +01:00
Karl Tauber
d39b08c035
FlatArrowButton: refactored arrow painting to FlatUIUtils.paintArrow() so that it can be easily used other components (e.g. JideSplitButton)
2021-03-19 01:21:19 +01:00
Karl Tauber
3d0df51839
JIDE: support JideLabel to fix wrong text colors in dark themes
2021-03-16 22:52:13 +01:00
Karl Tauber
beff149004
JIDE: support JideButton and JideToggleButton
2021-03-16 22:15:32 +01:00
Karl Tauber
a5e41c573f
JIDE: UIDefaultsDump: dump UI defaults added by LookAndFeelFactory.installJideExtension()
2021-03-16 11:38:49 +01:00
Karl Tauber
9a94395d30
JIDE: split FlatJideOssTest (moved JideTabbedPane to FlatJideOssContainerTest`)
2021-03-15 17:40:31 +01:00
Karl Tauber
035a13df54
Window decorations: support unified backgrounds for window title bar, menu bar and main content (issue #254 )
2021-03-14 15:13:26 +01:00
Karl Tauber
30c7b442a8
Window decorations:
...
- support customizing of window title alignment: left aligned or centered (default is left without embedded menubar and centered with embedded menubar)
- improved centering of window title with embedded menubar (issue #252 )
2021-03-13 17:08:47 +01:00
Karl Tauber
b7bcbccd45
Window decorations: support right aligned extra components in JFrame title pane with embedded menu bar
2021-03-13 11:10:50 +01:00
Karl Tauber
73487ccf65
Native window decorations:
...
- enabled by default (via UI property `TitlePane.useWindowDecorations`)
- dropped system property `flatlaf.useNativeWindowDecorations` and replaced with `flatlaf.useWindowDecorations`
- old functionality of system property `flatlaf.useWindowDecorations` removed
2021-03-11 10:54:23 +01:00
Karl Tauber
49bd53194a
Native window decorations: show window system menu when left-clicking on application icon, close window on left-double-click on app icon
2021-02-23 23:31:36 +01:00