Karl Tauber
b208017117
added API to register packages or folders where FlatLaf searches for application specific properties files with custom UI defaults
2020-08-26 12:07:00 +02:00
Karl Tauber
a1dab94a61
TextArea: update background color property if enabled or editable state changes in the same way as Swing does it for all other text components (issue #147 )
2020-08-25 19:15:53 +02:00
Karl Tauber
2975ed2eae
FlatComponents2Test: added checkboxes to enable/configure table grid lines
2020-08-07 22:46:26 +02:00
Karl Tauber
56ebd26361
Window decorations: make embedded menu bar make smaller if horizontal space is rare to avoid that embedded menu bar overlaps buttons
2020-08-06 23:10:54 +02:00
Karl Tauber
b0426b81a7
Window decorations: embedded menu bar did not always respond to mouse events after adding menus and when running in JetBrains Runtime (issue #151 )
2020-08-06 11:45:47 +02:00
Karl Tauber
4eb4ddf5d8
FlatTestFrame: do not use sun.java2d.uiScale for user scale factor
2020-08-02 11:43:46 +02:00
Karl Tauber
5a9e620c17
Animator: added constructor that allows passing a runnable that is invoked at the end of the animation, which allows using lambdas in most cases
2020-07-25 10:53:06 +02:00
Karl Tauber
5166d4bb0f
SystemInfo:
...
- renamed public fields from upper-case to mixed-case
- added public fields for osVersion and javaVersion
- fixed Mac -> MacOS
- added orLater to Mojave
2020-07-22 22:01:19 +02:00
Karl Tauber
2ffd5437a9
animated Laf changing added to flatlaf-extras, used in Demo
2020-07-22 12:56:42 +02:00
Karl Tauber
008ecabd21
animator and cubic bezier easing classes added (for future animations) (issue #66 )
2020-07-21 17:53:53 +02:00
Karl Tauber
eafad942e7
Theme Editor: added basic auto-complete for keys
2020-07-08 10:43:24 +02:00
Karl Tauber
f22862b0a4
InternalFrame: use default icon in internal frames (issue #122 )
2020-07-06 14:41:17 +02:00
Karl Tauber
0d91116e62
Merge branch 'origin/custom-window-decorations' into master
...
# Conflicts:
# flatlaf-demo/src/main/java/com/formdev/flatlaf/demo/DemoFrame.java
2020-06-29 15:59:38 +02:00
Karl Tauber
8b4786ad18
added class FlatSystemProperties to define/document own system properties used in FlatLaf
2020-06-27 17:57:59 +02:00
Karl Tauber
293b76f04b
Window decorations: FlatWindowDecorationsTest: added "undecorated" checkbox
2020-06-25 17:55:42 +02:00
Karl Tauber
a1b0c0bbd4
ComboBox: increase maximum row count of popup list to 20 (was 8)
2020-06-25 17:00:10 +02:00
Karl Tauber
46d3204bc3
MenuBar:
...
- use derived colors for menu bar hover
- use derived colors for menu item selected background
- top-level JMenu now uses foreground color from parent JMenuBar
This allows changing menu bar background to dark with:
UIManager.put( "MenuBar.background", Color.DARK_GRAY );
UIManager.put( "MenuBar.foreground", Color.WHITE );
or
menuBar.setBackground( Color.DARK_GRAY );
menuBar.setForeground( Color.WHITE );
(issue #117 )
2020-06-25 11:36:36 +02:00
Karl Tauber
c25ff57b61
Button, CheckBox, RadioButton and ToggleButton: do not paint focus indicator if AbstractButton.isFocusPainted() returns false
2020-06-24 16:45:41 +02:00
Karl Tauber
7c9bbe6aef
Merge branch 'master' into branch 'custom-window-decorations'
2020-06-23 11:11:14 +02:00
Karl Tauber
27eeb0a636
Demo: use uppercase leading characters
2020-06-22 23:35:56 +02:00
Karl Tauber
cf436962f8
fixed/improved vertical position of HTML text when scaled on HiDPI screens on Windows
2020-06-22 23:31:01 +02:00
Karl Tauber
7fb7a1ac85
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 8
2020-06-22 21:05:11 +02:00
Karl Tauber
15a714faed
fixed/improved vertical position of text when scaled on HiDPI screens on Windows when running on Java 9 or later
2020-06-22 13:45:56 +02:00
Karl Tauber
1ba27730d6
UIDefaultsDump: fixed order of removed values in diff dumps
2020-06-19 13:38:25 +02:00
Karl Tauber
6568cee2e8
UIDefaultsDump: dump IntelliJ and Darcula themes (as differences to Light/dark themes; Windows only)
2020-06-18 20:29:40 +02:00
Karl Tauber
212c553904
Testing: added class FlatGlazedListsTest for testing Glazed Lists ( https://github.com/glazedlists/glazedlists ) table sorting (issue #113 )
2020-06-16 16:48:00 +02:00
Karl Tauber
2443547b3b
FlatTestFrame: removed no longer needed nested JRootPane (was used for UI inspector)
2020-06-08 16:03:04 +02:00
Karl Tauber
9246cc0607
Extras: added FlatInspector (moved from flatlaf-testing)
2020-06-08 15:03:34 +02:00
Karl Tauber
ff55cc1a2a
Window decorations: do not overwrite maximized bounds if controlled from the application
2020-06-07 11:57:05 +02:00
Karl Tauber
732ca8be56
FlatLaf.isLafDark() added
2020-06-06 22:00:54 +02:00
Karl Tauber
1381a34752
FlatInspector: ignore FlatWindowResizer
2020-06-06 15:38:22 +02:00
Karl Tauber
8e77eb0519
Window decorations: support resizing window (issues #47 and #82 )
2020-06-06 12:20:33 +02:00
Karl Tauber
1fffc67d13
Window decorations: added border (issues #47 and #82 )
2020-06-02 17:49:30 +02:00
Karl Tauber
8500781cd5
Merge branch 'master' into branch 'custom-window-decorations'
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatRootPaneUI.java
2020-06-02 16:13:35 +02:00
Karl Tauber
6a8bf2acc5
FlatInspector: fixed highlight figure bounds of windows; limit used inspection level to existing components
2020-06-02 16:07:11 +02:00
Karl Tauber
99c99b9218
Window decorations: support embedding menu bar into title pane (enabled by default) (issues #47 and #82 )
2020-05-31 14:10:58 +02:00
Karl Tauber
14ec6f6471
FlatInspector: increase/decrease inspection level with Ctrl/Shift keys
2020-05-30 17:35:54 +02:00
Karl Tauber
c4a1341aa9
FlatInspector:
...
- support ending inspection with ESC key
- inspect component at current mouse location when enabling inspector
2020-05-30 16:53:20 +02:00
Karl Tauber
fc68dfd7bc
FlatInspector: support inspecting whole window including menubar and custom window decoration
2020-05-30 15:19:07 +02:00
Karl Tauber
626601f6aa
Window decorations: added window icon (issues #47 and #82 )
2020-05-27 11:40:41 +02:00
Karl Tauber
9ad32125c0
Window decorations: initial implementation (incomplete) (issues #47 and #82 )
...
TODO
- move window
- resize window
- window icon
- window border
2020-05-26 23:35:05 +02:00
Karl Tauber
5cef1f6730
Testing: added font size spinner to control bar; also support Ctrl+0, Ctrl++ and Ctrl+- to change font size
2020-05-24 15:26:07 +02:00
Karl Tauber
d2d4f73834
ScrollBar: use derived colors for track and thumb (issue #103 )
2020-05-23 16:40:09 +02:00
Karl Tauber
b36ac1b824
UI defaults: added GTKLookAndFeel dump made on Fedora 31 (Adweita theme)
2020-05-21 18:38:46 +02:00
Karl Tauber
2a0403a988
support CompoundBorder as component border with FlatBorder on the outside
2020-05-19 23:24:00 +02:00
Karl Tauber
f1c08e7769
FlatTestFrame: added Substance Business skin for testing light UI
2020-05-19 18:42:22 +02:00
Karl Tauber
571f028ca3
FlatComponentsTest: moved components that change something into own "control" panel
2020-05-19 11:31:52 +02:00
Karl Tauber
c11222b5c7
FlatHtmlTest: added more HTML samples
2020-05-17 22:50:40 +02:00
Karl Tauber
03bc6eb69b
FlatTestFrame: '2.0' --> '2'
2020-05-17 18:46:21 +02:00
Karl Tauber
531bb2a968
UIDefaultsDump: dump only differences for macOS
...
(to avoid the need for updating multiple dumps when changing UI defaults)
2020-05-17 17:52:12 +02:00