Karl Tauber
b72508f920
Merge PR #547 : List: Support rounded selection
...
# Conflicts:
# flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatComponents2Test.java
2022-10-30 10:24:16 +01:00
Karl Tauber
22bb80218d
Merge PR #546 : Tree: rounded selection
2022-10-30 10:16:07 +01:00
Karl Tauber
873a7e8572
Menu: fixed missing background on hover if top-level JMenu is opaque and selectionInsets or selectionArc are set (PR #536 )
2022-10-30 10:10:22 +01:00
Karl Tauber
0c5016fe89
Merge PR #536 : Menus: rounded selection
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuBarUI.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuUI.java
# flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties
# flatlaf-theme-editor/src/main/resources/com/formdev/flatlaf/themeeditor/FlatLafUIKeys.txt
2022-10-30 09:55:09 +01:00
Karl Tauber
607b084697
Merge PR #534 : ToolBar: hover effect for button groups
2022-10-29 19:51:37 +02:00
Karl Tauber
9d8ffec276
Merge PR #605 : FlatInspector: add/remove mouse listener in setEnabled
2022-10-29 14:41:24 +02:00
Max Weber
15f08e9b7c
FlatInspector: add/remove mouse listener in setEnabled
2022-10-29 05:16:29 -06:00
Karl Tauber
08aa6b1894
added ej-technologies (creator of JProfiler and install4j) as Platinum sponsor
2022-10-28 22:44:02 +02:00
Karl Tauber
06b02c4f7c
README.md: new applications using FlatLaf:
...
- JProfiler
- JFormDesigner
- Fanurio
- Antares
- Logisim-evolution
- Cinecred
- tinyMediaManager
- Weasis
- Makelangelo Software
(changed "New" to "Hot")
2022-10-28 22:22:10 +02:00
Karl Tauber
b56acd271f
added Sponsor button
2022-10-26 18:09:28 +02:00
Karl Tauber
b24e2db59e
FileChooser: fixed layout of (optional) accessory component and fixed too large right margin (issue #604 ; regression since implementing PR #522 in FlatLaf 2.3)
2022-10-21 13:12:52 +02:00
Karl Tauber
f215356629
updated sigtest for FlatLaf 2.6
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-10-18 11:26:38 +02:00
Karl Tauber
069a7c809c
release 2.6
2.6
2022-10-18 11:11:24 +02:00
Karl Tauber
883b4d735a
changed "since 3" to "since 2.6"
2022-10-18 11:08:14 +02:00
Karl Tauber
9f39b269bb
CHANGELOG.md: moved PR #595 from "Fixed bugs" to "New features and improvements"
2022-10-17 18:15:19 +02:00
Karl Tauber
36c405c708
fixed NPE in FlatUIUtils.isCellEditor() (issue #601 )
2022-10-17 18:09:12 +02:00
Karl Tauber
bc7c68ebe4
MenuBar: fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item does not have a parent (issue #600 ; regression since implementing #589 in FlatLaf 2.5; commit f6c5db07f2)
2022-10-17 17:08:12 +02:00
Karl Tauber
6c502ad4c5
2.6-SNAPSHOT
2022-10-17 16:31:54 +02:00
Karl Tauber
100aa0b621
Native libraries: load jawt.dll also on Windows when running in Java 9 and later (to be on the safe side)
2022-10-06 10:58:32 +02:00
Karl Tauber
8e42b19934
Native libraries: support loading via System.loadLibrary()
...
(for pre-extracted native libs in NetBeans)
2022-10-06 10:49:55 +02:00
Karl Tauber
1a456d5d68
ScaledImageIcon: do not throw exceptions if image has invalid size (e.g. not found); instead paint a red rectangle (similar to FlatSVGIcon)
2022-10-01 20:12:32 +02:00
Karl Tauber
e83c26a76a
- ScrollBar: show "pressed" feedback on track/thumb only for left mouse button; if absolute positioning is enabled (the default), then also for middle mouse button
...
- Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: show "pressed" feedback only for left mouse button
2022-09-30 19:55:42 +02:00
Karl Tauber
6e7c2a616b
updated CHANGELOG.md for PR #595 and added tab context menu test
2022-09-30 15:33:37 +02:00
Karl Tauber
0699454df8
Merge PR #595 : Switch and close tabs on left mouse click only
2022-09-30 15:10:45 +02:00
Karl Tauber
92c110548a
ComboBox and Spinner: no longer use preferred height for arrow button width, because preferred height may be zero, which would hide arrow button (see https://github.com/scijava/scijava-ui-swing/issues/77#issuecomment-1261452712 )
...
- arrow button width depends on combobox/spinner height
- default/max button width is height of a raw combobox/spinner (without insets)
- min button width is 3/4 of default button width
2022-09-30 12:30:46 +02:00
Karl Tauber
ca88023560
GitHub Actions: build using Java 19 (use toolchain because Gradle 7.5.1 does not support running on Java 19)
2022-09-28 19:15:59 +02:00
Karl Tauber
12fc2299ec
update to Gradle 7.5.1
...
./gradlew wrapper --gradle-version=7.5.1
2022-09-28 15:44:16 +02:00
Karl Tauber
2089c77b84
updated sigtest for FlatLaf 2.5
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-09-27 16:50:34 +02:00
Karl Tauber
4f5a3e8d8b
release 2.5
2.5
2022-09-27 16:11:48 +02:00
ShadelessFox
95522846ac
Switch and close tabs on left mouse click only
2022-09-25 21:52:44 +03:00
Karl Tauber
614ac956de
updated sigtest to 1.7
2022-09-23 12:31:42 +02:00
Karl Tauber
c228362c01
Window decorations: added UI value TitlePane.font to customize window title font (issue #589 )
2022-09-23 11:57:38 +02:00
Karl Tauber
f6c5db07f2
MenuBar: top level menus now use MenuBar.font instead of Menu.font (issue #589 )
2022-09-23 00:31:14 +02:00
Karl Tauber
78e7839213
Window decorations: added option to show window icon only in frames, but not in dialogs (issue #589 )
2022-09-23 00:13:01 +02:00
John Platts
f7be12df67
Add AllocRoutines.h include
2022-09-19 14:23:51 -05:00
John Platts
a1d1e221ae
Remove operator new and operator delete overloads from Runtime.cpp
...
The ```operator new``` and ```operator delete``` overloads in Runtime.cpp are replaced by placement ```operator new``` and ```operator delete``` operators in AllocRoutines.h that take a const FlatLafNoThrowT& placement parameter.
Using ```new (FlatLafNoThrow) FlatWndProc``` instead of ```new FlatWndProc``` also allows for inlining by the C++ compiler.
2022-09-19 14:23:16 -05:00
John Platts
0a4dc54fb9
Update put and ensureCapacity routines
2022-09-19 14:17:37 -05:00
John Platts
b8c7801365
Change ensureCapacity method to return a bool
2022-09-19 14:06:26 -05:00
John Platts
a7099c039f
Rename allocation functions
2022-09-19 13:57:25 -05:00
John Platts
a4d2d347e3
Change put method to return a bool
2022-09-19 13:56:28 -05:00
John Platts
829c537fd3
Add checks for allocation failure
2022-09-19 13:55:33 -05:00
John Platts
28437f99cf
Update new and delete FlatWndProc.cpp
2022-09-19 13:53:33 -05:00
John Platts
c1402d85e1
Update HWNDMap.h
2022-09-19 13:39:47 -05:00
John Platts
32e071ab89
Update AllocRoutines.h
2022-09-19 13:36:10 -05:00
John Platts
01125e030e
Create AllocRoutines.h
2022-09-19 13:26:33 -05:00
John Platts
b43278439a
Delete AllocRoutines.h
2022-09-19 13:26:01 -05:00
John Platts
7a445aabd7
Create AllocRoutines.h
2022-09-19 13:25:26 -05:00
Karl Tauber
86a4f306c6
Styling: added convenience methods to invoke StyleableUI interface methods
...
~~~java
JButton button = new JButton();
int arc = FlatLaf.getStyleableValue( button, "arc" );
Color borderColor = FlatLaf.getStyleableValue( button, "borderColor" );
~~~
2022-09-14 10:51:11 +02:00
Karl Tauber
0e523f1193
SwingX: fixed missing highlighting of "today" in JXMonthView and JXDatePicker
2022-09-12 13:29:53 +02:00
Karl Tauber
9041a16b22
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2022-09-11 18:03:11 +02:00