Karl Tauber
babc8aa55d
SwingX: support JXTipOfTheDay component (issue #980 )
2025-03-07 11:59:21 +01:00
Karl Tauber
5dc88a6210
SwingX: moved FlatMonthDownIcon and FlatMonthUpIcon from ui to icons package
2025-03-06 18:47:48 +01:00
Karl Tauber
072cc3c488
Styling: MigLayout visual padding was not updated after applying style to Button, ComboBox, Spinner, TextField (and subclasses) and ToggleButton (issue #965 )
2025-02-05 12:55:12 +01:00
Karl Tauber
13fbaf1f74
fixed errors reported by Error Prone in commit 261d2b1fe8
2024-05-30 19:33:18 +02:00
Karl Tauber
261d2b1fe8
HTML: Fixed font sizes for HTML tags <h1>...<h6>, <code>, <kbd>, <big>, <small> and <samp> in HTML text for components Button, CheckBox, RadioButton, MenuItem (and subclasses), JideLabel, JideButton, JXBusyLabel and JXHyperlink. Also fixed for Label and ToolTip if using Java 11+.
2024-05-30 16:39:23 +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
9fef2f9d05
SwingX: update fonts in JXHeader, JXMonthView, JXTaskPane and JXTitledPanel when changing default font
2022-12-01 12:51:19 +01:00
Karl Tauber
0e523f1193
SwingX: fixed missing highlighting of "today" in JXMonthView and JXDatePicker
2022-09-12 13:29:53 +02:00
Karl Tauber
99f7b9ad84
ScrollBar:
...
- added `ScrollBar.minimumButtonSize` to specify minimum scroll arrow button size
- center and scale arrows in scroll up/down buttons
(issue #493 )
2022-03-13 10:58:27 +01:00
Karl Tauber
dd3ffc64b9
SwingX: improved dark/light colors "column control" icon for JXTable (issue #434 )
2021-12-07 18:10:09 +01:00
Karl Tauber
c9a38f0a13
SwingX: new "column control" icon for JXTable that scales and uses antialiasing (issue #434 )
2021-12-07 17:45:25 +01:00
Karl Tauber
f0c314df80
Theming improvements:
...
- renamed `@disabledText` to `@disabledForeground`
- renamed `@textComponentBackground` to `@componentBackground`
- renamed `@textComponentMargin` to `@componentMargin`
- added `@disabledBackground`
(Note: this are incompatible changes!)
2021-10-03 23:15:51 +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
bce58bc97b
SwingX: added search and clear icons to JXSearchField (issue #359 )
2021-08-03 17:52:49 +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
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
66dab41539
properties: added spaces around '=' for easier reading
2020-12-23 10:52:42 +01:00
Karl Tauber
cbb11ebb03
ComboBox, Spinner and SplitPaneDivider: support "pressed" feedback on arrow buttons
2020-12-23 00:02:58 +01:00
Karl Tauber
435068515a
always reset our graphics rendering hints
...
(this is usually not necessary because each component gets its own instance of Graphics when painting, but resetting may avoid side effects if our paint methods are invoked directly)
2020-12-18 13:35:17 +01:00
Karl Tauber
956001dbd7
avoid painting text with our rendering hints enabled to avoid antialiased text in some components if text antialiasing is disabled in system (issue #227 )
2020-12-18 12:22:27 +01:00
Karl Tauber
81c35eab46
SwingX: fixed striping background highlighting color (e.g. alternating table rows) in dark themes
...
Table: made grid lines slightly darker/lighter
2020-12-07 12:28:31 +01:00
Karl Tauber
642583479f
default arrow type changed from "triangle" to "chevron" (does not change any theme)
2020-11-05 18:55:08 +01:00
Karl Tauber
ecb94bac6d
use short color format #RGB (instead of #RRGGBB) where possible
2020-09-11 21:24:00 +02:00
Karl Tauber
2f5ca20ca4
fixed compile error caused by previous checkin (issue #143 )
2020-07-31 19:28:58 +02:00
Karl Tauber
26c77b3118
Button, ComboBox, TextField and DatePicker UI delegates now get Component.focusWidth and Button.arc/Component.arc/TextComponent.arc from component border
2020-05-15 11:32:53 +02:00
Karl Tauber
db933fee4f
build.gradle.kts: flatlaf-extras and flatlaf-swingx are now Java modules
...
flatlaf-jide-oss is not a Java module because jide-oss.jar does not run on the module path (tries to access private Windows LaF classes)
2020-05-09 15:32:25 +02:00
Karl Tauber
a2b615d4a7
focus indication border (or background) no longer hidden when temporary loosing focus (e.g. showing a popup menu)
2020-04-20 11:27:29 +02:00
Karl Tauber
33ea84004d
UIDefaultsLoader: changed .properties file loading order: now all core .properties files are loaded before loading addon .properties files, which makes it easier to overwrite core values in addons; also, addon loading order can be specified
2020-01-07 12:55:37 +01:00
Karl Tauber
269075657d
FlatDefaultsAddon: added default implementation to getDefaults() because most subclasses use the same implementation
2019-12-30 11:02:40 +01:00
Karl Tauber
32ceb168d5
replaced prefix @@ with $ in .properties files
2019-12-23 00:18:27 +01:00
Karl Tauber
78d5e03a66
updated colors in "Flat Light" and "Flat IntelliJ" themes with colors from "IntelliJ Light Theme", which provides blue coloring that better match platform colors
2019-12-21 11:13:11 +01:00
Karl Tauber
3fcb17931a
fixed clipped borders at 125%, 150% and 175% scaling when outer focus width is zero (default in "Flat Light" and "Flat Dark" themes)
2019-12-15 11:36:24 +01:00
Karl Tauber
05743e2d8b
FlatUIUtils: renamed and documented component painting methods
2019-12-14 23:17:11 +01:00
Karl Tauber
f3f8c81518
SwingX: JXTitledPanel support (issue #22 )
2019-11-28 18:29:47 +01:00
Karl Tauber
c513c052fc
SwingX: fixed too wide border when using date picker as table cell editor (issue #24 )
2019-11-26 00:05:38 +01:00
Karl Tauber
711c4dd2b5
hex color values in .properties files now must start with a # character
2019-11-25 19:10:51 +01:00
Karl Tauber
bc10c4e871
Made JComboBox, JProgressBar, JSpinner and JXDatePicker non-opaque.
...
`JPasswordField`, `JScrollPane` and `JTextField` are non-opaque if they have
an outside focus border (e.g. IntelliJ and Darcula themes).
(issues #20 and #17 )
2019-10-25 10:28:18 +02:00
Karl Tauber
8b8d84c2a3
TextField and PasswordField: reduced duplicate code
2019-10-24 20:47:31 +02:00
Karl Tauber
0853a1aa2e
SwingX: fixed preferred width of JXDatePicker, which was too large ( #8 )
2019-10-20 22:16:13 +02:00
Karl Tauber
f53f205f52
SwingX: fixed JXDatePicker.TodayPanel colors ( #8 )
2019-10-20 18:18:06 +02:00
Karl Tauber
5a952c187c
SwingX: JXMonthView support ( #8 )
2019-10-20 10:47:53 +02:00
Karl Tauber
b3e9d82537
SwingX: added SwingX LaF addon ( #8 )
2019-10-19 09:36:43 +02:00
Karl Tauber
0970dceee2
SwingX: JXDatePicker support ( #8 )
2019-10-19 09:35:01 +02:00
Karl Tauber
c1a9f48e6b
SwingX: JXBusyLabel support ( #8 )
2019-10-18 13:26:30 +02:00
Karl Tauber
8b5e3e344a
SwingX: JXHeader support ( #8 )
2019-10-18 10:33:05 +02:00
Karl Tauber
212ff012d6
SwingX: JXTaskPaneContainer and JXTaskPane support ( #8 )
2019-10-18 10:31:24 +02:00
Karl Tauber
423c01074a
SwingX: flatlaf-swingx subproject created; JXHyperlink support ( #8 )
2019-10-17 11:21:23 +02:00