Karl Tauber
6f9bad1bdf
Tree: fixed painting wide selection while drag-and-drop
2019-12-23 13:43:50 +01:00
Karl Tauber
39a0d514a8
List, Table and Tree: added colors for drag-and-drop
...
- added "enable drag and drop" checkbox to Demo on "Data Components" tab
- support copying UI default values lazy
2019-12-23 13:10:50 +01:00
Karl Tauber
ad82c591cc
use logging instead of printing errors to System.err
2019-12-23 11:29:17 +01:00
Karl Tauber
32ceb168d5
replaced prefix @@ with $ in .properties files
2019-12-23 00:18:27 +01:00
Karl Tauber
16146f4c88
support basic color functions in .properties files
2019-12-22 17:40:13 +01:00
Karl Tauber
60febbf3f8
Table: hide grid and changed intercell spacing to zero
2019-12-22 11:38:32 +01:00
Karl Tauber
4960b30cfb
Tree: support wide selection (enabled by default)
2019-12-22 00:07:08 +01:00
Karl Tauber
56c161fea0
List and Tree: paint cell focus indicator (black rectangle) only if more than one item is selected
2019-12-21 21:46:36 +01:00
Karl Tauber
27c439d728
documented used UI defaults in UI delegates
2019-12-21 17:30:36 +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
f25e647b6a
fixed separator color in IntelliJ platform themes
2019-12-21 10:55:17 +01:00
Karl Tauber
e44212fc65
fixed link color (in HTML text) in IntelliJ platform themes
2019-12-20 18:36:25 +01:00
Karl Tauber
a483403774
Button: reset shadow variables on LaF switch
2019-12-20 14:43:08 +01:00
Karl Tauber
af962b99be
InternalFrame: icons implemented (issue #11 )
2019-12-19 17:37:36 +01:00
Karl Tauber
a3a60c1c4b
ProgressBar: reduced thickness from 6 to 4 (as in IntelliJ and Windows 10)
2019-12-18 11:44:34 +01:00
Karl Tauber
c141cb6c6c
CheckBox and RadioButton: fixed cut off outer focus border if checkbox/radiobutton border was explicitly set to a EmptyBorder
2019-12-17 23:24:38 +01:00
Karl Tauber
62765ab6ca
TextComponent: support placeholder text that is displayed if text field is empty (set client property "JTextField.placeholderText" to a string)
2019-12-17 18:08:45 +01:00
Karl Tauber
e4f7fed523
TextComponent: scale caret width on HiDPI screens when running on Java 8
2019-12-17 17:34:54 +01:00
Karl Tauber
bf8cc268cc
on Mac show mnemonics only when Ctrl and Alt keys are pressed (issue #4 )
2019-12-17 11:35:16 +01:00
Karl Tauber
8450e74832
TabbedPane: support separators between tabs (TabbedPane.showTabSeparators)
2019-12-16 20:40:29 +01:00
Karl Tauber
475b258e4a
Button: enabled Button.defaultButtonFollowsFocus on Windows, which allows pressing focused button with <kbd>Enter</kbd> key (as in Windows LaF)
2019-12-16 18:11:48 +01:00
Karl Tauber
f20803ae57
ProgressBar: If progress text is visible:
...
- use smaller font
- reduced height
- changed style to rounded rectangle
- fixed painting issues on low values
Support configure of arc with `ProgressBar.arc`
2019-12-16 17:39:46 +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
736c7b8377
CheckBox: changed CheckBox.arc from radius to diameter to be consistent with Button.arc and Component.arc
2019-12-14 23:36:22 +01:00
Karl Tauber
05743e2d8b
FlatUIUtils: renamed and documented component painting methods
2019-12-14 23:17:11 +01:00
Karl Tauber
469e5bd179
ToggleButton: removed "ToggleButton.arc" because it was only used for the background, but not for the border, which is painted in FlatButtonBorder
2019-12-14 00:05:47 +01:00
Karl Tauber
65fbcedaa4
TabbedPane: support background color for selected tabs
2019-12-13 23:14:41 +01:00
Karl Tauber
c4183ada11
ScrollPane and FlatSpinner: made getHandler() methods private
2019-12-11 21:58:39 +01:00
Karl Tauber
2211cc5596
fixed Swing system colors in dark themes
2019-12-08 10:21:07 +01:00
Karl Tauber
46f0393648
UIDefaultsLoader:
...
- support `{instance}com.myapp.MyClass` to instantiate any public class with public no-arg constructor
- support `{class}com.myapp.MyClass`
- support loading addon classes from different classloaders (e.g. in NetBeans)
2019-12-07 17:53:59 +01:00
Karl Tauber
b4c1a97687
IntelliJ Themes:
...
- accept colors starting with two `#` as valid colors because IntelliJ IDEA does it too
- fixed wrong error message when a color reference is missing
(issue #26 )
2019-12-06 11:13:50 +01:00
Karl Tauber
adcef385b0
FlatClientProperties: added javadoc comments
2019-12-03 11:33:12 +01:00
Karl Tauber
48e38b2855
ScrollBar: show decrease/increase arrow buttons if client property "JScrollBar.showButtons" is set to true on JScrollPane or JScrollBar (issue #25 )
2019-12-03 10:53:39 +01:00
Karl Tauber
2cc8327a08
ScrollPane: paint disabled border if view component (e.g. JTextPane) is disabled
2019-12-01 18:23:30 +01:00
Karl Tauber
404e80082c
Button: fixed help button styling in IntelliJ platform themes
2019-12-01 17:53:10 +01:00
Karl Tauber
d76f0e2241
moved code that fixes color of links in HTML text from FlatLaf.getDefaults() to FlatLaf.initialize() and invoke it only once (for the case that getDefaults() is invoked from 3rd party code)
2019-11-30 23:23:34 +01:00
Karl Tauber
e5fcc59805
Button: optionally support shadows for improved compatibility with IntelliJ platform themes (e.g. for Material Design Dark theme)
2019-11-30 19:14:37 +01:00
Karl Tauber
de82dac873
Button: optionally support gradient border and gradient background for improved compatibility with IntelliJ platform themes (e.g. Vuesion and Spacegray themes)
2019-11-30 17:58:40 +01:00
Karl Tauber
a14ef72177
FlatLaf.isNativeLookAndFeel() now returns false
2019-11-30 15:41:27 +01:00
Karl Tauber
02bb73c335
FileChooser: scale file chooser size (issue #5 )
2019-11-29 10:29:28 +01:00
Karl Tauber
a99ffd4821
fixed color of links in HTML text
2019-11-28 17:06:45 +01:00
Karl Tauber
feb8d0591e
Button: make button square if button text is "..." or a single character
2019-11-28 10:55:10 +01:00
Karl Tauber
2197808631
ComboBox: fixed issues with NetBeans org.openide.awt.ColorComboBox component
2019-11-28 10:33:26 +01:00
Karl Tauber
36b3ccc34f
IntelliJ Themes: fixes for ScrollBar
2019-11-27 23:51:27 +01:00
Karl Tauber
879a8aaa6d
renamed FlatLaf.initColorPalette() to initIconColors()
2019-11-26 11:06:13 +01:00
Karl Tauber
900d005d89
IntelliJ Themes: fixes for ComboBox, Spinner, CheckBox and RadioButton
2019-11-26 10:41:11 +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
c722934510
look and feel identifier returned by FlatLaf.getID() now always starts with "FlatLaf"
2019-11-24 14:08:38 +01:00
Karl Tauber
3ffe8e225d
IntelliJ Themes: fixes for Slider:
...
- use Component.focusColor if Slider.focusedColor is not set (which is the case in all IntelliJ themes)
- compute hover color based on thumb color
- ignore Slider.trackWidth (used in Material Theme UI Lite)
2019-11-24 12:58:38 +01:00