Commit Graph

2218 Commits

Author SHA1 Message Date
Karl Tauber
67fdf90543 ComboBox: update editor colors correctly when switching LaF 2019-08-29 18:35:08 +02:00
Karl Tauber
de476b721c Spinner: update editor colors correctly 2019-08-29 18:34:21 +02:00
Karl Tauber
a9dedfaf3d Spinner: fixed arrow buttons alignment 2019-08-29 16:01:49 +02:00
Karl Tauber
69ae33e2af Spinner basic implementation 2019-08-29 15:26:25 +02:00
Karl Tauber
dbebfc5d20 ComboBox: painting arrow button background if disabled is not necessary because it has the same color as the disabled component background 2019-08-29 15:12:20 +02:00
Karl Tauber
03246c440f uninstall defaults, but only in non-shared instances 2019-08-29 12:20:15 +02:00
Karl Tauber
77f63e3bdc FlatArrowButton added (refactored from ComboBox and TabbedPane) 2019-08-29 12:12:19 +02:00
Karl Tauber
a28713dce6 TabbedPane: allow enabling full border for all tabbed panes in UI defaults 2019-08-28 22:28:25 +02:00
Karl Tauber
072bdfb276 TabbedPane: re-implemented paintContentBorder() because super.paintContentBorder() uses UIManager.getColor(), which is not GUI builder friendly 2019-08-28 22:21:56 +02:00
Karl Tauber
10e91f9db3 TabbedPane: scroll button implemented; do not hover tab if it is disabled 2019-08-28 21:51:52 +02:00
Karl Tauber
c7b0985793 TabbedPane: fixed content separator in scroll tab policy 2019-08-28 18:57:57 +02:00
Karl Tauber
7a6dd4d9c0 TabbedPane basic implementation 2019-08-28 16:48:59 +02:00
Karl Tauber
a61c546ff4 SplitPane basic implementation 2019-08-27 17:42:23 +02:00
Karl Tauber
58a2abc0fc ScrollBar: scale minimum and maximum thumb sizes 2019-08-27 13:08:14 +02:00
Karl Tauber
bfc746cd85 ComboBox: re-implemented paintCurrentValue() because super.paintCurrentValue() uses UIManager.getColor(), which is not GUI builder friendly 2019-08-27 12:59:24 +02:00
Karl Tauber
5d974fef37 ComboBox: fixed background if explicit color is set (for not editable combobox) 2019-08-27 12:49:26 +02:00
Karl Tauber
d9c9cce194 TextArea: fixed background if explicit color is set 2019-08-27 12:45:16 +02:00
Karl Tauber
0d382a0d25 access UIManager only from installDefaults() (for performance and to be GUI builder friendly) 2019-08-27 12:41:09 +02:00
Karl Tauber
e1eb51e04d FlatBorder: access UIManager only on construction (for performance and to be GUI builder friendly) 2019-08-27 11:11:03 +02:00
Karl Tauber
34bb502880 FlatCheckBoxIcon: access UIManager only on construction (for performance and to be GUI builder friendly) 2019-08-27 10:43:14 +02:00
Karl Tauber
2acc4a0da1 CheckBox and RadioButton: use Component.focusWidth in icons 2019-08-27 09:42:23 +02:00
Karl Tauber
3275c0f374 ComboBox: fixed editor border when switching LaF 2019-08-27 09:28:40 +02:00
Karl Tauber
ed55789744 Slider:
- use Component.focusColor for thumb if slider is focused
- use round thumb only if not painting ticks or labels
- if thumb is round, paint track before thumb in same color as thumb
2019-08-27 00:12:43 +02:00
Karl Tauber
165def6c81 ComboBox: focus border was not shown for editable comboboxes 2019-08-26 21:43:17 +02:00
Karl Tauber
094555f75c ComboBox: support right-to-left 2019-08-26 21:10:56 +02:00
Karl Tauber
2736429893 Separator: fixed scaling of preferred size 2019-08-26 20:36:00 +02:00
Karl Tauber
420818261c FlatTestFrame: fixed restore of default colors 2019-08-26 20:31:26 +02:00
Karl Tauber
bf0e16b8d6 ProgressBar: fixed right-to-left painting 2019-08-26 18:43:55 +02:00
Karl Tauber
d2a2548420 Slider basic implementation 2019-08-26 17:32:39 +02:00
Karl Tauber
424596f979 FlatTestFrame: fixed mnemonic 2019-08-26 13:04:00 +02:00
Karl Tauber
82bc03d617 FlatTestFrame: register F1, F2 and F3 keys to switch to Light, Dark or Test LaF 2019-08-26 13:01:32 +02:00
Karl Tauber
c3ce469389 FlatComponentsTest: added combobox to switch LaF and added right-to-left checkbox 2019-08-26 12:53:41 +02:00
Karl Tauber
647a2361d4 FlatComponentsTest: added checkbox to change component colors to blue/red and restore UI colors 2019-08-25 23:30:27 +02:00
Karl Tauber
f0fb5f54c0 Separator implemented 2019-08-25 23:29:31 +02:00
Karl Tauber
7ea5e11ee7 ComboBox: fixed foreground colors and focused-not-editable background 2019-08-23 13:39:13 +02:00
Karl Tauber
4a852bc7c2 ComboBox: fixed background colors and padding 2019-08-23 10:29:57 +02:00
Karl Tauber
a20dffc8cd ComboBox basic implementation 2019-08-22 23:31:19 +02:00
Karl Tauber
24ba48be8c added license notice 2019-08-22 18:37:56 +02:00
Karl Tauber
ff325324d2 ProgressBar implemented 2019-08-22 17:47:02 +02:00
Karl Tauber
436fdf0bd5 ScrollPane: paint background so that corners have same color as scroll bars 2019-08-22 13:20:48 +02:00
Karl Tauber
c706b0d67b ScrollBar implemented 2019-08-22 12:53:03 +02:00
Karl Tauber
7250cb5522 FlatButtonBorder now extends FlatBorder 2019-08-21 21:40:26 +02:00
Karl Tauber
0b02236c6b TextArea: fixed inactive and disabled background 2019-08-21 20:18:08 +02:00
Karl Tauber
a691260e34 EditorPane, TextArea and TextPane implemented 2019-08-21 19:49:57 +02:00
Karl Tauber
c5d37d86db ScrollPane implemented (with focused border) 2019-08-21 17:51:25 +02:00
Karl Tauber
b534cd5082 PasswordField implemented 2019-08-21 14:47:46 +02:00
Karl Tauber
faed3fabc6 FormattedTextField implemented 2019-08-21 14:40:37 +02:00
Karl Tauber
d0a7ded92b TextField: fixed inactive and disabled background 2019-08-21 14:07:38 +02:00
Karl Tauber
fdbcb52629 TextField implemented 2019-08-21 13:24:33 +02:00
Karl Tauber
b320918d83 CheckBox and RadioButton: added border that scales margin 2019-08-21 10:48:47 +02:00