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
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
d7b0754327
JIDE: JideTabbedPane: tab layout fixes for compact resize mode
2021-03-27 17:03:49 +01:00
Karl Tauber
923cc51f3e
JIDE: JideTabbedPane: FlatJideOssContainerTest updated (based on FlatContainerTest)
2021-03-27 12:18:06 +01:00
Karl Tauber
c8f7478170
JIDE: JideTabbedPane:
...
- use `FlatTabbedPaneCloseIcon` for tab close buttons
- scale close buttons
- fix close buttons location
2021-03-27 11:02:33 +01:00
Karl Tauber
bf500e46e7
Window decorations: fixed wrong/missing window icon when application replaces InternalFrame.icon (issue #284 )
2021-03-25 16:14:41 +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