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
d5c9bcddc8
fixed "cannot find symbol" error in NetBeans editor, when source/binary format is set to JDK 9 (or later) in NetBeans project (issue #13 )
...
flatlaf.jar is no longer a multi-release jar
2019-11-28 19:04:42 +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
81f1ebd1db
added readme files to sub-projects
2019-11-24 16:59:13 +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
Karl Tauber
e6e19110b2
HSLColor: fixed javadoc errors
2019-11-20 17:21:49 +01:00
Karl Tauber
b5c13bd1b3
IntelliJ Themes: fixes for ProgressBar
2019-11-20 17:09:49 +01:00
Karl Tauber
645be4bfa3
IntelliJ Themes: Tree: fixed renderer background
2019-11-18 19:16:48 +01:00
Karl Tauber
321c49ee32
OptionPane: fixed button order on Mac
2019-11-18 17:31:24 +01:00
Karl Tauber
84db2f9b65
OptionPane:
...
- fixed background, which was wrong when OptionPane.background is different to Panel.background (e.g. in Hiberbee or Solarized themes)
- use non-UIResource borders in sub-panels to avoid that they are replaced when switching LaF
2019-11-18 13:12:27 +01:00
Karl Tauber
f175c36736
IntelliJ Themes: OptionPane: use colors for error/information/question/warning icons from default color palette, which enables modification of icon colors by theme
2019-11-16 21:55:28 +01:00
Karl Tauber
5069013e6e
FileChooser implemented (issue #5 )
2019-11-16 17:21:28 +01:00
Karl Tauber
c0642ed620
IntelliJ Themes: apply action/object icons color palette from .theme.json to FlatLaf default color palette in UI defaults
2019-11-16 13:36:19 +01:00
Karl Tauber
a145673dd1
use chevron arrows for table header ascending/descending sort icons ( #7 )
2019-11-15 23:41:26 +01:00
Karl Tauber
223af48c09
added default color palette for action icons and object icons (based on IntelliJ Platform colors)
...
and use color palette for file chooser icons (issue #5 )
2019-11-15 23:40:52 +01:00
Karl Tauber
d72cfc37d6
fixed jittery submenu rendering on Mac (issue #10 )
2019-11-15 18:24:22 +01:00
Karl Tauber
3ba8133890
Table: fixed selection background of checkbox in table cell
2019-11-14 12:33:04 +01:00
Karl Tauber
a907cd7f46
IntelliJ Themes: fixes for text component disabled backgrounds, button backgrounds, combobox disabled backgrounds and spinner disabled backgrounds
2019-11-14 11:28:38 +01:00