Commit Graph

  • c7f323ee13 Theme Editor: added window icon Karl Tauber 2021-08-24 16:49:55 +02:00
  • e4522f3af4 Theme Editor: added "About" dialog Demo: updated "About" dialog Karl Tauber 2021-08-24 16:40:17 +02:00
  • 79af461a5b Theme Editor: instead of creating empty FlatLightLaf.properties and FlatDarkLaf.properties, add some how-to-use description to those files Karl Tauber 2021-08-24 15:38:15 +02:00
  • 2e8e07faf6 Theme Editor: auto-completion for keys improved: - now also contains variables and keys defined in current and base themes - appended " = " - removes some unsupported keys (fonts and input maps) Karl Tauber 2021-08-24 15:13:30 +02:00
  • ecdb000818 Theme Editor: avoid changing editor text (and adding item to undo history) when simply pressing OK button in "Insert Color" dialog without changing anything Karl Tauber 2021-08-23 23:56:27 +02:00
  • 999fd0d4da Theme Editor: generate .java file when creating new theme Karl Tauber 2021-08-23 23:52:22 +02:00
  • 705dd9558f Theme Editor: - added "New Properties File" action to "File" menu - added "+" button to tabbed pane - ask to create .properties files when opening a directory that does not contain .properties files - fixed Darcula baseTheme/preview Karl Tauber 2021-08-23 22:32:11 +02:00
  • 97ca866ffa OptionPane: fixed OptionPane.sameSizeButtons, which did not work as expected when setting to false Karl Tauber 2021-08-23 16:53:23 +02:00
  • 543b977db7 updated SVG icons from IntelliJ IDEA Community Edition to latest versions that include license header; added license header to SVGs where it were missing Karl Tauber 2021-08-23 15:57:26 +02:00
  • ebb8a6d025 Theme Editor: ignore custom UI delegates in preview Karl Tauber 2021-08-23 15:00:28 +02:00
  • 506543281e Theme Editor: "Insert Color" dialog now immediately updates editor with new color, which updates "live" preview; also save/restore location of dialog Karl Tauber 2021-08-23 14:41:53 +02:00
  • 60322be22a Theme Editor: added "Insert Color" action to "Edit" menu that opens a color chooser dialog and inserts/edits a color at caret position Karl Tauber 2021-08-23 13:43:14 +02:00
  • e1f30f24a8 Theme Editor: to toggle comment, add Ctrl+7 for German keyboards where Ctrl+/ does not work Karl Tauber 2021-08-22 17:34:18 +02:00
  • 1759f6b25c Theme Editor: increment/decrement color parts (red, green, blue or alpha) at caret using Ctrl+UP/Ctrl+DOWN Karl Tauber 2021-08-22 17:26:29 +02:00
  • 6578f25cc9 GitHub Actions: upload theme editor Karl Tauber 2021-08-22 16:08:02 +02:00
  • 8c26e0323f Theme Editor: increment/decrement numbers at caret using Ctrl+UP/Ctrl+DOWN Karl Tauber 2021-08-22 15:33:29 +02:00
  • a5575894ab Theme Editor: - update preview after 300ms (was 500ms) - added separator between editor and preview Karl Tauber 2021-08-22 14:26:18 +02:00
  • 357823a027 Theme Editor: added "Show HSL/RGB colors" menu items to "View" menu to control display of color models in overlay color preview Karl Tauber 2021-08-22 12:34:48 +02:00
  • a6d3f6b3eb Theme Editor: added menu components to preview Karl Tauber 2021-08-22 11:19:47 +02:00
  • ae4c69e75c Theme Editor: fixed preview when switching Laf Karl Tauber 2021-08-22 00:39:49 +02:00
  • 31cadc532b Theme Editor: - F12 now activates editor if focus is in preview or in find/replace - changed accelerators for light/dark themes from F11/F12 to Alt+F1/F2 Karl Tauber 2021-08-22 00:33:34 +02:00
  • 6e8443473b Theme Editor: special order for tabs: first core themes, then other themes Karl Tauber 2021-08-21 23:27:43 +02:00
  • cca4ab3cd8 Theme Editor: fixed tabbed pane "more tabs" popup in preview Karl Tauber 2021-08-21 18:24:57 +02:00
  • dab0ee3306 Theme Editor: added "live" preview Karl Tauber 2021-08-21 18:09:59 +02:00
  • c6d1ed91a7 Menus: fixed missing modifiers flags in ActionEvent (issue #371; regression since FlatLaf 1.3) Karl Tauber 2021-08-13 20:32:07 +02:00
  • a613a244f4 InternalFrame: double-click on icon in internal frame title bar now closes the internal frame (issue #374) Karl Tauber 2021-08-13 19:11:03 +02:00
  • 268fe15004 Tree: improved support for JTree.getPathForLocation(int x, int y) in wide selection (issue #373) Karl Tauber 2021-08-13 00:19:34 +02:00
  • 7bc9be686f FlatLaf: use larger initial capacity for UI defaults table to avoid resizing hash table and to save some memory Karl Tauber 2021-08-13 00:13:54 +02:00
  • 751919ec5a Theme Editor: find/replace improvements: - while typing in find field, select match near caret and scroll to it - PageUp/PageDown keys scroll editor if find/replace fields have focus Karl Tauber 2021-08-12 22:05:08 +02:00
  • da913b426e Theme Editor: paint current line highlight always in the line where the caret is, which makes it easier to locate current match when using find/replace Karl Tauber 2021-08-11 23:59:33 +02:00
  • d8ef99cd8f Theme Editor: support resolving properties that use wildcards Karl Tauber 2021-08-11 23:24:55 +02:00
  • d08a6d7dd3 Theme Editor: support loading/resolving base properties from core themes Karl Tauber 2021-08-11 22:38:35 +02:00
  • 896e9bca8e Theme Editor: re-implemented support loading/resolving base properties from other editors in opened directory Karl Tauber 2021-08-11 21:53:10 +02:00
  • 1df9597bb1 Theme Editor: support Ctrl+PageDown/PageUp to switch to next/previous editor Karl Tauber 2021-08-09 10:19:24 +02:00
  • eaf55f2099 Theme Editor: store unscaled window bounds in preferences so that using Java 8 or 9+ results in same size on screen Karl Tauber 2021-08-08 19:15:10 +02:00
  • 5018a1f9eb Theme Editor: increase/decrease editor font size Karl Tauber 2021-08-08 18:44:44 +02:00
  • 71ba8f55a7 Theme Editor: - support dark theme (menu "View > Dark Laf") - moved RSyntaxTextArea theme config from XML to properties files - bracket matching enabled - highlight selected tab background Karl Tauber 2021-08-08 17:43:59 +02:00
  • b65db707ed Theme Editor: auto-completion improved: support auto-activate after spaces, tabs or ',' Karl Tauber 2021-08-07 14:59:20 +02:00
  • ed62266a43 Theme Editor: always select all text in find/replace text fields Karl Tauber 2021-08-07 12:55:25 +02:00
  • 49913b7dad Theme Editor: duplicate lines with Ctrl+Alt+Up or Ctrl+Alt+Down Karl Tauber 2021-08-07 12:51:00 +02:00
  • 3eeeb9e00b Theme Editor: update RSyntaxTextArea from 3.1.2 to 3.1.3 Karl Tauber 2021-08-07 11:18:00 +02:00
  • bfb1642284 UIDefaultsDump: dump HSL color values Karl Tauber 2021-08-06 10:45:57 +02:00
  • 0544a605c3 UIDefaultsLoader: added tint() and shade() color functions (inspired by Less CSS) Karl Tauber 2021-08-05 23:37:42 +02:00
  • 3f5acda132 UI defaults inspector: round HSL values (as also done in theme editor) Karl Tauber 2021-08-05 18:49:03 +02:00
  • 02b1ba2926 UIDefaultsLoader: added mix() color function (inspired by Less CSS) Karl Tauber 2021-08-05 18:19:42 +02:00
  • 7f7f9e3c7c UIDefaultsLoader: added changeHue(), changeSaturation(), changeLightness() and changeAlpha() color functions (inspired by Sass CSS color.change() function) Karl Tauber 2021-08-05 11:40:28 +02:00
  • 6fcee03752 release 1.5 1.5 Karl Tauber 2021-08-04 15:13:58 +02:00
  • 5782ceeb5d README.md: added descriptions to addons Karl Tauber 2021-08-04 14:27:57 +02:00
  • f752db5892 FileChooser: fixed missing (localized) texts when FlatLaf is loaded in special classloader (e.g. plugin system in Apache NetBeans) Karl Tauber 2021-08-04 11:15:18 +02:00
  • bce58bc97b SwingX: added search and clear icons to JXSearchField (issue #359) Karl Tauber 2021-08-03 17:52:49 +02:00
  • d373687bc4 Testing: added FlatSingleComponentTest to easier test/debug single components Karl Tauber 2021-08-03 11:01:35 +02:00
  • e5e510c825 Demo: fixed inconsistent behavior when first changing font size and then font family, which did loose user scale factor on Windows in Java 9+ (issue #352) Karl Tauber 2021-08-02 19:16:38 +02:00
  • 29064ec72f Button and TextComponent: do not apply minimum width/height if margins are set (issue #364) Karl Tauber 2021-08-02 18:36:10 +02:00
  • 953eee1dc8 TableHeader: made getRolloverColumn() public to allow usage in custom renderers (issue #336) Karl Tauber 2021-08-02 18:01:08 +02:00
  • 75f76f4875 ComboBox and Spinner: limit arrow button width if component has large preferred height (issue #361) Karl Tauber 2021-08-02 15:27:25 +02:00
  • ecfbe68c33 Native window decorations: updated DLLs (issues #357 and #339) Karl Tauber 2021-07-31 21:22:09 +02:00
  • 7f02eb9cf0 Native window decorations: when window is initially shown, fill background with window background color (instead of white), which avoids flickering in dark themes (issue #339) Karl Tauber 2021-07-31 21:02:42 +02:00
  • 4ab90065dc Native window decorations: when resizing a window to the right or to the bottom, then first fill the new space with the window background color (instead of black) before the layout is updated (issue #339) Karl Tauber 2021-07-31 18:02:10 +02:00
  • d3e39a1359 Native window decorations: fixed occasional application crash on Windows 10 in flatlaf-windows.dll (issue #357) Karl Tauber 2021-07-30 23:06:09 +02:00
  • 60e5861de4 InternalFrame: limit internal frame bounds to parent bounds on resize; honor maximum size of internal frame (issue #362) Karl Tauber 2021-07-29 16:44:50 +02:00
  • ca7f5045ae Popup: fixed incorrectly placed drop shadow for medium-weight popups in maximized windows (issue #358) Karl Tauber 2021-07-29 15:39:16 +02:00
  • 299bd67151 Styling: support PopupMenu Karl Tauber 2021-07-23 08:54:50 +02:00
  • 4d4bb3fd7f Styling: added StyleableUI.getStyleableInfos() for tooling (e.g. GUI builder) Karl Tauber 2021-07-21 11:51:19 +02:00
  • 7fd64a1b73 Styling: support InternalFrame Karl Tauber 2021-07-20 08:57:21 +02:00
  • e3e8765b91 Styling: support MenuBar Karl Tauber 2021-07-19 14:39:57 +02:00
  • b0997fb5d2 release 1.4 1.4 Karl Tauber 2021-07-13 11:02:10 +02:00
  • 435cf05f9f TabbedPane: reviewed PR #343 (active tab border painting style) Karl Tauber 2021-07-12 13:37:24 +02:00
  • 37dab9fb22 TabbedPane: fixed rendering of tab separators in scroll layout if scaled on HiDPI screens Karl Tauber 2021-07-12 11:48:34 +02:00
  • 943dfe0619 Styling: support styling for recently merged changes Karl Tauber 2021-07-11 01:41:52 +02:00
  • be7114d3e6 Merge remote-tracking branch 'origin/main' into styling Karl Tauber 2021-07-11 01:26:11 +02:00
  • fb44c8fbe4 TextField: fixed location of placeholder text if paddings are used (e.g. in ComboBox) (for commit a9dcf09d13) Karl Tauber 2021-07-10 21:05:26 +02:00
  • 94375b7d36 Extras: added support for client property JTextField.padding (for commit a9dcf09d13) Karl Tauber 2021-07-10 20:59:34 +02:00
  • 8b585deb78 ToolBar: support focusable buttons in toolbar (issue #346) Karl Tauber 2021-07-10 13:32:30 +02:00
  • 4d8b544aed UIDefaultsKeysDump: also use FlatTestLaf, which adds missing keys to FlatLafUIKeys.txt Karl Tauber 2021-07-10 13:28:02 +02:00
  • 548d651d29 PasswordField: move the lower bar of the caps lock icon up a half pixel Karl Tauber 2021-07-10 11:03:13 +02:00
  • 0b342acec9 PasswordField: paint caps lock icon on left side in right-to-left component orientation Karl Tauber 2021-07-09 15:14:29 +02:00
  • cc6d3c1b1a PasswordField: Caps lock icon no longer painted over long text (issue #172) Karl Tauber 2021-07-09 15:03:16 +02:00
  • 74a748d92e use LoggingFacade instead of printStackTrace() in flatlaf-extras and flatlaf-demo Karl Tauber 2021-07-09 13:22:37 +02:00
  • 1de81d0af5 ComboBox: fixed StackOverflowError when using single renderer instance in multiple comboboxes (regression since commit 4507ce359d) Karl Tauber 2021-07-09 11:39:35 +02:00
  • ff9ef21f67 OptionPane: align wrapped lines to the right if component orientation is right-to-left (issue #350) Karl Tauber 2021-07-08 17:53:44 +02:00
  • 266a546478 Window decorations: window title bar width is no longer considered when calculating preferred/minimum width of window (issue #351) Karl Tauber 2021-07-08 16:54:34 +02:00
  • 87407ca832 Table and PopupFactory: use StackWalker in Java 9+ for better performance (issue #334) Karl Tauber 2021-07-08 14:02:50 +02:00
  • 90282d4436 UI defaults dumps updated for issue #335 Karl Tauber 2021-07-08 00:02:33 +02:00
  • abbe6d6c1f ToolBar: paint focus indicator for focused button in toolbar (issue #346) Karl Tauber 2021-07-07 18:16:45 +02:00
  • a28f701e6f OptionPane: do not make child components, which are derived from JPanel, non-opaque (issue #349) Karl Tauber 2021-07-07 10:57:54 +02:00
  • 4cdc995a7f ComboBox: simplified code in configureEditor() Karl Tauber 2021-07-05 23:14:05 +02:00
  • 713a01bfa9 Styling: set "shared" flag to true when shared icon is assigned Karl Tauber 2021-07-05 23:12:45 +02:00
  • ac291b688d Styling: fixed detection of value type if key prefix ix given (e.g. [light]padding) Karl Tauber 2021-07-05 22:40:55 +02:00
  • 84f7e244f2 Styling: - support ComboBox.padding - fixed updating of Spinner.padding Karl Tauber 2021-07-05 22:36:57 +02:00
  • 4a8207f367 Styling: use TestUtils.setup() in unit tests; Karl Tauber 2021-07-05 21:58:48 +02:00
  • 9cfd4d27e9 Styling: renamed unit tests (so that all unit test classes start with Test) Karl Tauber 2021-07-05 21:48:41 +02:00
  • 1b23cfd747 Merge remote-tracking branch 'origin/main' into styling Karl Tauber 2021-07-05 21:38:07 +02:00
  • c708205593 TestFlatComponentSizes: shortened combobox text because unit tests on GitHub Actions use font size 15 Karl Tauber 2021-07-05 20:06:07 +02:00
  • a22c6c8013 ComboBox (not editable): - increased size of internal renderer pane to the component border so that it can paint within the whole component - increase combo box size if a custom renderer uses a border with insets that are larger than the default combo box padding (2,6,2,6) Karl Tauber 2021-07-05 18:41:17 +02:00
  • b576f473e5 fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java 8 only) so that Button, ComboBox, Spinner and TextField components (including subclasses) have same heights Karl Tauber 2021-07-05 15:06:06 +02:00
  • 0b127caa83 ComboBox: fixed minimum width if focusWidth > 0 (to be equal with button minimum width) Karl Tauber 2021-07-05 11:07:32 +02:00
  • 5801bf3bdf Styling: use FlatLightLaf in unit tests and get UI delegates from components Karl Tauber 2021-07-04 10:43:08 +02:00
  • 4507ce359d ComboBox: reworked uninstall of CellPaddingBorder, which is temporary used for cell renderers, to make it easier to understand and reliable Karl Tauber 2021-07-03 10:43:55 +02:00
  • 3e14f28dc2 ComboBox (editable) and Spinner: increased size of internal text field to the component border so that it behaves like plain text field (issue #330) Karl Tauber 2021-07-02 18:43:37 +02:00
  • a9dcf09d13 TextField: support adding extra padding Karl Tauber 2021-07-02 15:19:46 +02:00