Karl Tauber
35fa3197c8
Demo: moved SVG icons to JFormDesigner forms
2023-08-04 12:08:04 +02:00
Karl Tauber
bad0428f5b
UIDefaultsLoader and FlatStylingSupport: explicitly specify throws IllegalArgumentException and improved catching
2023-05-20 12:26:46 +02:00
Karl Tauber
97018df2f9
added Error Prone ( https://errorprone.info/ ) and fixed reported errors and warnings
...
- CI runs Error Prone with Java 11
- use Gradle task `errorprone` to run it on development machine
- fixes are mostly cosmetic except:
- use Locale.ENGLISH for String.toLowerCase()
- use explicit character encoding when reading/writing files
- TabbedPane: wrong logic in mouse-wheel scrolling
- SplitPane: simplified property change listener (fixes hiding field `propertyChangeListener` of superclass)
2023-05-19 22:58:12 +02:00
Karl Tauber
dce4f4623c
SystemInfo.isMacFullWindowContentSupported now includes isMacOS; updated comments regarding system property apple.awt.application.appearance
2023-04-03 10:59:30 +02:00
Karl Tauber
bc5587477b
Theme Editor: Preview: fixed preview of cell focus indicators in List, Table and Tree
2023-03-26 13:05:50 +02:00
Karl Tauber
1435469ee5
TableHeader: support column hover and pressed background and foreground colors (issue #636 )
2023-01-30 14:21:44 +01:00
Karl Tauber
9b62b8395f
Theme Editor: support macOS light and dark themes
2023-01-19 11:10:42 +01:00
Karl Tauber
4e1e749094
Fonts: added Roboto Mono (issue #638 )
2023-01-12 14:08:08 +01:00
Karl Tauber
d491847754
Fonts: support lazy font file loading (extends PRs #545 and #614 )
2022-11-21 11:51:27 +01:00
Karl Tauber
78c2f98f1f
Fonts: added Roboto
2022-11-19 16:49:26 +01:00
Karl Tauber
92cd6f8f34
Theme Editor:
...
- use JetBrains Mono font for editor area
- added Inter font to allow using it in preview (Java 11+)
2022-11-17 23:00:07 +01:00
Karl Tauber
a6394cac38
minor code cleanup:
...
- remove redundant semicolon
- create array with curly
2022-11-14 12:25:29 +01:00
Karl Tauber
c7bfd2ea82
UIDefaultsLoader: added systemColor() color function that can be used to change accent color (preparation for getting accent color from operating system)
2022-11-02 21:59:07 +01:00
Karl Tauber
7f15f557a5
ComboBox: for style "mac", place popup over combobox (issue #497 )
2022-11-01 11:52:36 +01:00
Karl Tauber
607b084697
Merge PR #534 : ToolBar: hover effect for button groups
2022-10-29 19:51:37 +02:00
Karl Tauber
7437d984c7
Theme Editor: accept @ as identifier character, which includes it in selection when double clicking e.g. on @background
2022-07-08 17:53:49 +02:00
Karl Tauber
5cd0b2403c
Theme Editor: find/replace bar improvements:
...
- always use editor selection to search if `Ctrl+F` is pressed
- keep find/replace bar open if switching to another editor
- mark matches when switching to another editor
2022-07-08 17:52:08 +02:00
Karl Tauber
2ef6a2c3c9
ToolBar: add hover effect to button groups
2022-05-14 13:59:47 +02:00
Karl Tauber
5f961618bf
Demo and Theme Editor: updated macOS related comments
2022-05-13 13:54:10 +02:00
Karl Tauber
37c375e2fa
Theme Editor:
...
- support "themes" sub-directory
- added "generate Java class" checkbox to "New" dialog
2022-05-10 11:01:45 +02:00
Karl Tauber
96f2a02cfa
UIDefaultsLoader: added over() color function to convert a translucent color into a solid color based on any background color
2022-05-09 23:28:40 +02:00
Karl Tauber
14932d3f07
Theme Editor: on macOS use apple.awt.fullWindowContent and apple.awt.transparentTitleBar
2022-05-05 13:20:23 +02:00
Karl Tauber
61dd4d71d6
Theme Editor: added text field leading/trailing buttons/toolbar to preview
2022-01-05 19:43:06 +01:00
Karl Tauber
a8d98ced61
Theme Editor:
...
- support multi-line styles in overlay color preview
- minor preview improvements
2022-01-03 21:51:02 +01:00
Karl Tauber
b6a504e121
Theme Editor: fixed "Pick Color from Screen" on macOS
...
On macOS Big Sur (and later), to pick colors outside of theme editor window it is necessary to give "Screen Recording" permission to the application (or to the IDE started from).
For the arrow keys, "Accessibility" permission is necessary.
See "System Preferences > Security & Privacy > Privacy".
2021-12-27 21:49:49 +01:00
Karl Tauber
1c10c41808
Theme Editor: Preview: added style classes to all preview components (syntax flatlaf-preview-<componenttype>) to allow experimenting with styles in editor
2021-12-26 21:23:42 +01:00
Karl Tauber
01170b669b
Theme Editor: Preview:
...
- reworked disabling to avoid disabling internal components
- do not disable labels
- removed special code for JTextPane and JEditorPane, which seems to be no longer needed
2021-12-26 20:30:36 +01:00
Karl Tauber
45332c8126
TextField: added "clear" button to theme editor find/replace and to UI defaults inspector
2021-12-14 10:42:07 +01:00
Karl Tauber
a3885d7a48
Theme Editor: Preview: minor tweeks
2021-12-11 14:13:56 +01:00
Karl Tauber
2164bd363b
Styling: MenuItem: support styling acceleratorFont
...
Theme Editor:
- support font keys in auto-completion
- ignore Menu.acceleratorFont, CheckBoxMenuItem.acceleratorFont and RadioButtonMenuItem.acceleratorFont because they are never used (keep UI values for backward compatibility)
2021-12-11 11:39:31 +01:00
Karl Tauber
09d8d09aad
Theme Editor: Preview: support usage of variables in styles
2021-12-10 23:14:19 +01:00
Karl Tauber
600e0f3d67
Panel: support painting background with rounded corners (issue #367 )
...
FlatLineBorder: support rounded corners
2021-12-10 22:40:17 +01:00
Karl Tauber
9ba008002b
Merge PR #396 : Typography
2021-11-19 14:57:36 +01:00
Karl Tauber
8914cf78a1
Typography: Theme Editor: added h1.regular, h2.regular and h3.regular to preview
2021-11-19 11:37:46 +01:00
Karl Tauber
68897f04a2
Typography: removed thin font/style because
...
- there is no thin font available on Windows
- previously used "Segoe UI Light" for `thin.font` and "Segoe UI Semilight" for `light.font`, but "Segoe UI Semilight" is too close to regular font so that it is better to use "Segoe UI Light" for `light.font` and drop `thin.font`
- the usefulness of having thin font in addition to light font is low
on macOS use "HelveticaNeue-Thin" for `light.font` (instead of "HelveticaNeue-Light")
2021-11-17 00:23:54 +01:00
Karl Tauber
52f6e7fc32
Theme Editor: Switches" preview:
...
- zoom 2x, 3x and 4x icons via toolbar
- hide indeterminate state for checkboxes via toolbar
2021-11-04 00:17:24 +01:00
Karl Tauber
5f6013edd4
Theme Editor: Switches" preview:
...
- show indeterminate state for checkboxes
- removed "text" from checkboxes and radio buttons
2021-10-31 11:17:37 +01:00
Karl Tauber
0e4fe4e9bb
Theme Editor: support platform and light/dark specific properties in preview
2021-10-26 18:46:08 +02:00
Karl Tauber
f742f83834
Typography: added thin font/style
2021-10-26 13:16:52 +02:00
Karl Tauber
e6e4e53a73
Typography: added light and semibold font/style
2021-10-25 13:27:40 +02:00
Karl Tauber
0156a9a9d5
Merge PR #401 : Text components: double/triple-click-and-drag selection improvements
2021-10-24 20:06:06 +02:00
Karl Tauber
3facbc0900
macOS: improved macOS support of Demo and Theme Editor:
...
- set application name that is used in screen menu bar
- enable dark window title bars if macOS is in dark mode
2021-10-24 17:05:50 +02:00
Karl Tauber
78cef1b3c7
Theme Editor:
...
- use class `FlatDesktop`
- hide "File > Exit" and "Help > About" on macOS
- enable macOS screen menu bar
2021-10-24 11:49:48 +02:00
Karl Tauber
d907c469ed
Theme Editor: renamed class FlatThemeEditor to FlatLafThemeEditor because this name is shown in macOS screen menu bar (and to be consistent with FlatLafDemo)
2021-10-24 11:43:28 +02:00
Karl Tauber
8fa1eae352
TextComponents: triple-click-and-drag now extends selection by whole lines
...
triple-click-and-drag does not work in theme editor because drag is enabled, anyway a triple-click now selects the whole line before dragging starts
2021-10-22 13:14:01 +02:00
Karl Tauber
e36f942129
TextComponents: double-click-and-drag now extends selection by whole words
2021-10-21 13:24:07 +02:00
Karl Tauber
80f51bfe1e
Theme Editor: fixed StackOverflowError when setting "defaultFont" to non-font value (e.g. defaultFont = #fff)
2021-10-17 14:43:12 +02:00
Karl Tauber
e560f9cbd6
Typography: added typography/fonts preview to theme editor
2021-10-13 15:47:55 +02:00
Karl Tauber
6715f01b8c
Typography: use typography styles in demo, theme editor, etc
2021-10-13 11:48:28 +02:00
Karl Tauber
d10bcfc72f
Theme Editor: fixed StackOverflowError when adding "defaultFont" key to properties file
2021-10-12 23:50:45 +02:00