diff --git a/flatlaf-testing/dumps/uidefaults/FlatDarculaLaf_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/FlatDarculaLaf_1.8.0_202.txt index 4d369222..3f8b2da4 100644 --- a/flatlaf-testing/dumps/uidefaults/FlatDarculaLaf_1.8.0_202.txt +++ b/flatlaf-testing/dumps/uidefaults/FlatDarculaLaf_1.8.0_202.txt @@ -7,17 +7,28 @@ - Name FlatLaf Dark + Name FlatLaf Darcula +#---- Button ---- + - Button.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] + Button.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] - Button.innerFocusWidth 1 + Button.innerFocusWidth 0 + +#---- CheckBox ---- + - CheckBox.icon.focusedBackground #466d944d 30% javax.swing.plaf.ColorUIResource [UI] + +#---- ComboBox ---- + - ComboBox.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + ComboBox.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + +#---- Component ---- + - Component.arrowType chevron + Component.arrowType triangle @@ -30,42 +41,74 @@ - Component.innerOutlineWidth 1.0 + Component.innerOutlineWidth 0 + +#---- FormattedTextField ---- + - FormattedTextField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + FormattedTextField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- HelpButton ---- + - HelpButton.icon [lazy] 22,22 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI] + HelpButton.icon [lazy] 26,26 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI] - HelpButton.innerFocusWidth 1 + HelpButton.innerFocusWidth 0 + +#---- JXDatePicker ---- + - JXDatePicker.border [lazy] 1,1,1,1 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI] + JXDatePicker.border [lazy] 3,3,3,3 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI] + +#---- PasswordField ---- + - PasswordField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + PasswordField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- ProgressBar ---- + - ProgressBar.foreground #4a88c7 javax.swing.plaf.ColorUIResource [UI] + ProgressBar.foreground #a0a0a0 javax.swing.plaf.ColorUIResource [UI] - ProgressBar.selectionForeground #bbbbbb javax.swing.plaf.ColorUIResource [UI] + ProgressBar.selectionForeground #3c3f41 javax.swing.plaf.ColorUIResource [UI] + +#---- RadioButton ---- + - RadioButton.icon.centerDiameter 8 + RadioButton.icon.centerDiameter 5 + +#---- ScrollPane ---- + - ScrollPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI] + ScrollPane.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatBorder [UI] + +#---- Spinner ---- + - Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + Spinner.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + +#---- Table ---- + - Table.scrollPaneBorder [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI] + Table.scrollPaneBorder [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatBorder [UI] + +#---- TextField ---- + - TextField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + TextField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- ToggleButton ---- + - ToggleButton.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] + ToggleButton.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] - diff --git a/flatlaf-testing/dumps/uidefaults/FlatIntelliJLaf_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/FlatIntelliJLaf_1.8.0_202.txt index 673508d6..c5364197 100644 --- a/flatlaf-testing/dumps/uidefaults/FlatIntelliJLaf_1.8.0_202.txt +++ b/flatlaf-testing/dumps/uidefaults/FlatIntelliJLaf_1.8.0_202.txt @@ -7,6 +7,8 @@ - Name FlatLaf Light + Name FlatLaf IntelliJ +#---- Button ---- + - Button.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] + Button.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] @@ -40,15 +42,24 @@ - Button.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI] + +#---- CheckBox ---- + - CheckBox.icon.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI] + CheckBox.icon.style filled - CheckBox.icon[filled].selectedFocusedCheckmarkColor #e3f1fa javax.swing.plaf.ColorUIResource [UI] + +#---- ComboBox ---- + - ComboBox.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + ComboBox.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + +#---- Component ---- + - Component.arrowType chevron + Component.arrowType triangle @@ -61,32 +72,58 @@ - Component.innerOutlineWidth 1.0 + Component.innerOutlineWidth 0 + +#---- FormattedTextField ---- + - FormattedTextField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + FormattedTextField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- HelpButton ---- + - HelpButton.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI] - HelpButton.icon [lazy] 22,22 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI] + HelpButton.icon [lazy] 26,26 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI] + +#---- JXDatePicker ---- + - JXDatePicker.border [lazy] 1,1,1,1 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI] + JXDatePicker.border [lazy] 3,3,3,3 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI] + +#---- PasswordField ---- + - PasswordField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + PasswordField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- ScrollPane ---- + - ScrollPane.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI] + ScrollPane.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatBorder [UI] + +#---- Spinner ---- + - Spinner.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + Spinner.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatRoundBorder [UI] + +#---- Table ---- + - Table.scrollPaneBorder [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatBorder [UI] + Table.scrollPaneBorder [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatBorder [UI] + +#---- TextField ---- + - TextField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + TextField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI] + +#---- ToggleButton ---- + - ToggleButton.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] + ToggleButton.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatButtonBorder [UI] - diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_1.8.0_202.txt new file mode 100644 index 00000000..01a7a736 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_1.8.0_202.txt @@ -0,0 +1,269 @@ +#---- ButtonPanel ---- + ++ ButtonPanel.buttonGap 6 ++ ButtonPanel.groupGap 6 ++ ButtonPanel.minButtonWidth 75 ++ ButtonPanel.oppositeOrder H ++ ButtonPanel.order ACO + + +#---- Content ---- + ++ Content.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] + + +#---- Cursor ---- + ++ Cursor.delete 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.drag 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragText 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragTextStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.east 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.float 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.horizontal 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.hsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveEast 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveWest 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.north 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.percentage 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.south 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.tab 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vertical 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.west 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) + + +#---- FolderChooser ---- + ++ FolderChooserUI com.jidesoft.plaf.basic.BasicFolderChooserUI + + +#---- FormattedTextField ---- + +- FormattedTextField.font [lazy] SansSerif plain 12 javax.swing.plaf.FontUIResource [UI] ++ FormattedTextField.font SansSerif plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Gripper ---- + ++ Gripper.foreground [active] #b2b2b2 javax.swing.plaf.ColorUIResource [UI] ++ Gripper.painter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ Gripper.size 8 ++ GripperUI com.jidesoft.plaf.vsnet.VsnetGripperUI + + +#---- HeaderBox ---- + ++ HeaderBox.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ HeaderBoxUI com.jidesoft.plaf.basic.BasicHeaderBoxUI + + +#---- Icon ---- + ++ Icon.floating true + + +#---- JideButton ---- + ++ JideButton.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideButton.borderColor [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.darkShadow [active] #696969 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.focusedBackground [active] #cfeafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideButton.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.margin 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideButton.selectedAndFocusedBackground [active] #88caff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.selectedBackground [active] #acdafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.textIconGap 4 ++ JideButton.textShiftOffset 0 ++ JideButtonUI com.jidesoft.plaf.basic.BasicJideButtonUI + + +#---- JideComboBox ---- + ++ JideComboBoxUI com.jidesoft.plaf.basic.BasicJideComboBoxUI + + +#---- JideLabel ---- + ++ JideLabel.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideLabel.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideLabel.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideLabelUI com.jidesoft.plaf.basic.BasicJideLabelUI + + +#---- JidePopupMenu ---- + ++ JidePopupMenuUI com.jidesoft.plaf.windows.WindowsJidePopupMenuUI + + +#---- JidePopup ---- + ++ JidePopupUI com.jidesoft.plaf.basic.BasicJidePopupUI + + +#---- JideScrollPane ---- + ++ JideScrollPane.border [active] 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + + +#---- JideSplitButton ---- + ++ JideSplitButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideSplitButton.borderPainted false ++ JideSplitButton.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideSplitButton.margin 3,3,3,7 javax.swing.plaf.InsetsUIResource [UI] ++ JideSplitButton.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitButton.textIconGap 4 ++ JideSplitButtonUI com.jidesoft.plaf.basic.BasicJideSplitButtonUI + + +#---- JideSplitPane ---- + ++ JideSplitPane.dividerSize 4 + + +#---- JideSplitPaneDivider ---- + ++ JideSplitPaneDivider.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitPaneDivider.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideSplitPaneDivider.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.background [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideTabbedPane.buttonMargin 5 ++ JideTabbedPane.buttonSize 18 ++ JideTabbedPane.closeButtonAlignment 11 ++ JideTabbedPane.closeButtonLeftMargin 2 ++ JideTabbedPane.closeButtonMargin 2 ++ JideTabbedPane.closeButtonMarginHorizonal 3 ++ JideTabbedPane.closeButtonMarginSize 6 ++ JideTabbedPane.closeButtonMarginVertical 3 ++ JideTabbedPane.closeButtonRightMargin 2 ++ JideTabbedPane.compressedStyleCloseButtonMarginHorizontal 0 ++ JideTabbedPane.compressedStyleCloseButtonMarginVertical 0 ++ JideTabbedPane.compressedStyleIconMargin 12 ++ JideTabbedPane.compressedStyleNoIconRectSize 24 ++ JideTabbedPane.contentBorderInsets 2,2,2,2 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.darkShadow [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultResizeMode 1 ++ JideTabbedPane.defaultTabBorderShadowColor #736d63 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultTabColorTheme 3 ++ JideTabbedPane.defaultTabShape 2 ++ JideTabbedPane.fitStyleBoundSize 8 ++ JideTabbedPane.fitStyleFirstTabMargin 4 ++ JideTabbedPane.fitStyleIconMinWidth 24 ++ JideTabbedPane.fitStyleTextMinWidth 16 ++ JideTabbedPane.fixedStyleRectSize 60 ++ JideTabbedPane.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.gripLeftMargin 4 ++ JideTabbedPane.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ JideTabbedPane.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.iconMargin 5 ++ JideTabbedPane.ignoreContentBorderInsetsIfNoTabs false ++ JideTabbedPane.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.noIconMargin 2 ++ JideTabbedPane.selectedTabBackground [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundDk #ffc73c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundLt #e68b2c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabFont Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.selectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.showCloseButtonOnTab false ++ JideTabbedPane.showIconOnTab true ++ JideTabbedPane.tabAreaBackground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundDk [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundLt [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaInsets 2,4,0,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabInsets 1,4,1,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabListBackground #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabRectPadding 2 ++ JideTabbedPane.tabRunOverlay 2 ++ JideTabbedPane.textIconGap 4 ++ JideTabbedPane.textMarginVertical 4 ++ JideTabbedPane.textPadding 6 ++ JideTabbedPane.unselectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPaneUI com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI + + +#---- Label ---- + +- Label.font [lazy] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ Label.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- MeterProgressBar ---- + ++ MeterProgressBar.background #000000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] ++ MeterProgressBar.cellBackground #008000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellForeground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellLength 2 ++ MeterProgressBar.cellSpacing 2 ++ MeterProgressBar.foreground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBarUI com.jidesoft.plaf.basic.MeterProgressBarUI + + +#---- RangeSlider ---- + ++ RangeSliderUI com.jidesoft.plaf.windows.WindowsRangeSliderUI + + +#---- Resizable ---- + ++ Resizable.resizeBorder [active] 4,4,4,4 true com.jidesoft.plaf.vsnet.ResizeFrameBorder [UI] + + +#---- Spinner ---- + +- Spinner.font [lazy] Monospaced plain 12 javax.swing.plaf.FontUIResource [UI] ++ Spinner.font SansSerif plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- StyledLabel ---- + ++ StyledLabelUI com.jidesoft.plaf.basic.BasicStyledLabelUI + + +#---- TextArea ---- + +- TextArea.font [lazy] Monospaced plain 12 javax.swing.plaf.FontUIResource [UI] ++ TextArea.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- TextField ---- + +- TextField.font [lazy] SansSerif plain 12 javax.swing.plaf.FontUIResource [UI] ++ TextField.font SansSerif plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Theme ---- + ++ Theme.highContrast [active] false ++ Theme.painter [unknown type] java.util.HashMap + + +#---- ToolBar ---- + +- ToolBar.font [lazy] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ ToolBar.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- TristateCheckBox ---- + ++ TristateCheckBox.icon 13,13 com.jidesoft.plaf.windows.WindowsIconFactory$CheckBoxIcon [UI] + + +#---- jidesoft ---- + ++ jidesoft.extensionInstalled true ++ jidesoft.extensionStyle 0 diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_InputMap_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_InputMap_1.8.0_202.txt new file mode 100644 index 00000000..b8f83382 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-BasicLookAndFeel_InputMap_1.8.0_202.txt @@ -0,0 +1,38 @@ +#---- JideButton ---- + ++ JideButton.focusInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ENTER pressed + SPACE pressed + released ENTER released + released SPACE released + + +#---- JideSplitButton ---- + ++ JideSplitButton.focusInputMap [lazy] 6 javax.swing.plaf.InputMapUIResource [UI] + DOWN downPressed + ENTER pressed + SPACE pressed + released DOWN downReleased + released ENTER released + released SPACE released + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.ancestorInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ctrl KP_UP requestFocus + ctrl PAGE_DOWN navigatePageDown + ctrl PAGE_UP navigatePageUp + ctrl UP requestFocus ++ JideTabbedPane.focusInputMap [lazy] 10 javax.swing.plaf.InputMapUIResource [UI] + ctrl DOWN requestFocusForVisibleComponent + ctrl KP_DOWN requestFocusForVisibleComponent + DOWN navigateDown + KP_DOWN navigateDown + KP_LEFT navigateLeft + KP_RIGHT navigateRight + KP_UP navigateUp + LEFT navigateLeft + RIGHT navigateRight + UP navigateUp diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-FlatDarkLaf_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-FlatDarkLaf_1.8.0_202.txt new file mode 100644 index 00000000..f2d8428e --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-FlatDarkLaf_1.8.0_202.txt @@ -0,0 +1,222 @@ +#---- ButtonPanel ---- + ++ ButtonPanel.buttonGap 6 ++ ButtonPanel.groupGap 6 ++ ButtonPanel.minButtonWidth 75 ++ ButtonPanel.oppositeOrder H ++ ButtonPanel.order ACO + + +#---- Content ---- + ++ Content.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] + + +#---- Cursor ---- + ++ Cursor.delete 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.drag 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragText 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragTextStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.east 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.float 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.horizontal 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.hsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveEast 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveWest 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.north 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.percentage 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.south 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.tab 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vertical 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.west 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) + + +#---- FolderChooser ---- + ++ FolderChooserUI com.jidesoft.plaf.basic.BasicFolderChooserUI + + +#---- FormattedTextField ---- + +- FormattedTextField.font [active] $defaultFont [UI] ++ FormattedTextField.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Gripper ---- + ++ Gripper.foreground [active] #b2b2b2 javax.swing.plaf.ColorUIResource [UI] ++ Gripper.painter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ Gripper.size 8 ++ GripperUI com.jidesoft.plaf.vsnet.VsnetGripperUI + + +#---- HeaderBox ---- + ++ HeaderBox.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ HeaderBoxUI com.jidesoft.plaf.basic.BasicHeaderBoxUI + + +#---- Icon ---- + ++ Icon.floating true + + +#---- JideButton ---- + ++ JideButton.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideButton.borderColor [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.darkShadow [active] #696969 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.focusedBackground [active] #cfeafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideButton.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.margin 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideButton.selectedAndFocusedBackground [active] #88caff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.selectedBackground [active] #acdafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.textIconGap 4 ++ JideButton.textShiftOffset 0 ++ JideButtonUI com.jidesoft.plaf.basic.BasicJideButtonUI + + +#---- JideComboBox ---- + ++ JideComboBoxUI com.jidesoft.plaf.basic.BasicJideComboBoxUI + + +#---- JideLabel ---- + ++ JideLabel.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideLabel.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideLabel.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideLabelUI com.jidesoft.plaf.basic.BasicJideLabelUI + + +#---- JidePopup ---- + ++ JidePopupUI com.jidesoft.plaf.basic.BasicJidePopupUI + + +#---- JideScrollPane ---- + ++ JideScrollPane.border [active] 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + + +#---- JideSplitButton ---- + ++ JideSplitButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideSplitButton.borderPainted false ++ JideSplitButton.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideSplitButton.margin 3,3,3,7 javax.swing.plaf.InsetsUIResource [UI] ++ JideSplitButton.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitButton.textIconGap 4 ++ JideSplitButtonUI com.jidesoft.plaf.basic.BasicJideSplitButtonUI + + +#---- JideSplitPane ---- + ++ JideSplitPane.dividerSize 4 + + +#---- JideSplitPaneDivider ---- + ++ JideSplitPaneDivider.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitPaneDivider.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideSplitPaneDivider.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideTabbedPane.buttonMargin 5 ++ JideTabbedPane.buttonSize 18 ++ JideTabbedPane.closeButtonAlignment 11 ++ JideTabbedPane.closeButtonLeftMargin 2 ++ JideTabbedPane.closeButtonMargin 2 ++ JideTabbedPane.closeButtonMarginHorizonal 3 ++ JideTabbedPane.closeButtonMarginSize 6 ++ JideTabbedPane.closeButtonMarginVertical 3 ++ JideTabbedPane.closeButtonRightMargin 2 ++ JideTabbedPane.compressedStyleCloseButtonMarginHorizontal 0 ++ JideTabbedPane.compressedStyleCloseButtonMarginVertical 0 ++ JideTabbedPane.compressedStyleIconMargin 12 ++ JideTabbedPane.compressedStyleNoIconRectSize 24 ++ JideTabbedPane.darkShadow [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultResizeMode 1 ++ JideTabbedPane.defaultTabBorderShadowColor #736d63 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultTabColorTheme 3 ++ JideTabbedPane.defaultTabShape 2 ++ JideTabbedPane.fitStyleBoundSize 8 ++ JideTabbedPane.fitStyleFirstTabMargin 4 ++ JideTabbedPane.fitStyleIconMinWidth 24 ++ JideTabbedPane.fitStyleTextMinWidth 16 ++ JideTabbedPane.fixedStyleRectSize 60 ++ JideTabbedPane.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.gripLeftMargin 4 ++ JideTabbedPane.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ JideTabbedPane.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.iconMargin 5 ++ JideTabbedPane.ignoreContentBorderInsetsIfNoTabs false ++ JideTabbedPane.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.noIconMargin 2 ++ JideTabbedPane.selectedTabBackground [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundDk #ffc73c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundLt #e68b2c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.selectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.showCloseButtonOnTab false ++ JideTabbedPane.showIconOnTab true ++ JideTabbedPane.tabAreaBackgroundDk [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundLt [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabListBackground #45494a javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabRectPadding 2 ++ JideTabbedPane.textIconGap 4 ++ JideTabbedPane.textMarginVertical 4 ++ JideTabbedPane.textPadding 6 ++ JideTabbedPane.unselectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + + +#---- MeterProgressBar ---- + ++ MeterProgressBar.background #000000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] ++ MeterProgressBar.cellBackground #008000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellForeground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellLength 2 ++ MeterProgressBar.cellSpacing 2 ++ MeterProgressBar.foreground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBarUI com.jidesoft.plaf.basic.MeterProgressBarUI + + +#---- Spinner ---- + +- Spinner.font [active] $defaultFont [UI] ++ Spinner.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- StyledLabel ---- + ++ StyledLabelUI com.jidesoft.plaf.basic.BasicStyledLabelUI + + +#---- TextArea ---- + +- TextArea.font [active] $defaultFont [UI] ++ TextArea.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Theme ---- + ++ Theme.highContrast [active] false ++ Theme.painter [unknown type] java.util.HashMap + + +#---- jidesoft ---- + ++ jidesoft.extensionInstalled true ++ jidesoft.extensionStyle 0 diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_1.8.0_202.txt new file mode 100644 index 00000000..ea35f4a8 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_1.8.0_202.txt @@ -0,0 +1,222 @@ +#---- ButtonPanel ---- + ++ ButtonPanel.buttonGap 6 ++ ButtonPanel.groupGap 6 ++ ButtonPanel.minButtonWidth 75 ++ ButtonPanel.oppositeOrder H ++ ButtonPanel.order ACO + + +#---- Content ---- + ++ Content.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] + + +#---- Cursor ---- + ++ Cursor.delete 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.drag 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragText 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragTextStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.east 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.float 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.horizontal 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.hsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveEast 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveWest 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.north 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.percentage 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.south 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.tab 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vertical 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.west 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) + + +#---- FolderChooser ---- + ++ FolderChooserUI com.jidesoft.plaf.basic.BasicFolderChooserUI + + +#---- FormattedTextField ---- + +- FormattedTextField.font [active] $defaultFont [UI] ++ FormattedTextField.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Gripper ---- + ++ Gripper.foreground [active] #b2b2b2 javax.swing.plaf.ColorUIResource [UI] ++ Gripper.painter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ Gripper.size 8 ++ GripperUI com.jidesoft.plaf.vsnet.VsnetGripperUI + + +#---- HeaderBox ---- + ++ HeaderBox.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ HeaderBoxUI com.jidesoft.plaf.basic.BasicHeaderBoxUI + + +#---- Icon ---- + ++ Icon.floating true + + +#---- JideButton ---- + ++ JideButton.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideButton.borderColor [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.darkShadow [active] #696969 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.focusedBackground [active] #cfeafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideButton.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.margin 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideButton.selectedAndFocusedBackground [active] #88caff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.selectedBackground [active] #acdafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.textIconGap 4 ++ JideButton.textShiftOffset 0 ++ JideButtonUI com.jidesoft.plaf.basic.BasicJideButtonUI + + +#---- JideComboBox ---- + ++ JideComboBoxUI com.jidesoft.plaf.basic.BasicJideComboBoxUI + + +#---- JideLabel ---- + ++ JideLabel.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideLabel.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideLabel.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideLabelUI com.jidesoft.plaf.basic.BasicJideLabelUI + + +#---- JidePopup ---- + ++ JidePopupUI com.jidesoft.plaf.basic.BasicJidePopupUI + + +#---- JideScrollPane ---- + ++ JideScrollPane.border [active] 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + + +#---- JideSplitButton ---- + ++ JideSplitButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideSplitButton.borderPainted false ++ JideSplitButton.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideSplitButton.margin 3,3,3,7 javax.swing.plaf.InsetsUIResource [UI] ++ JideSplitButton.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitButton.textIconGap 4 ++ JideSplitButtonUI com.jidesoft.plaf.basic.BasicJideSplitButtonUI + + +#---- JideSplitPane ---- + ++ JideSplitPane.dividerSize 4 + + +#---- JideSplitPaneDivider ---- + ++ JideSplitPaneDivider.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitPaneDivider.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideSplitPaneDivider.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideTabbedPane.buttonMargin 5 ++ JideTabbedPane.buttonSize 18 ++ JideTabbedPane.closeButtonAlignment 11 ++ JideTabbedPane.closeButtonLeftMargin 2 ++ JideTabbedPane.closeButtonMargin 2 ++ JideTabbedPane.closeButtonMarginHorizonal 3 ++ JideTabbedPane.closeButtonMarginSize 6 ++ JideTabbedPane.closeButtonMarginVertical 3 ++ JideTabbedPane.closeButtonRightMargin 2 ++ JideTabbedPane.compressedStyleCloseButtonMarginHorizontal 0 ++ JideTabbedPane.compressedStyleCloseButtonMarginVertical 0 ++ JideTabbedPane.compressedStyleIconMargin 12 ++ JideTabbedPane.compressedStyleNoIconRectSize 24 ++ JideTabbedPane.darkShadow [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultResizeMode 1 ++ JideTabbedPane.defaultTabBorderShadowColor #736d63 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultTabColorTheme 3 ++ JideTabbedPane.defaultTabShape 2 ++ JideTabbedPane.fitStyleBoundSize 8 ++ JideTabbedPane.fitStyleFirstTabMargin 4 ++ JideTabbedPane.fitStyleIconMinWidth 24 ++ JideTabbedPane.fitStyleTextMinWidth 16 ++ JideTabbedPane.fixedStyleRectSize 60 ++ JideTabbedPane.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.gripLeftMargin 4 ++ JideTabbedPane.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetWindowsUtils$9 [UI] ++ JideTabbedPane.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.iconMargin 5 ++ JideTabbedPane.ignoreContentBorderInsetsIfNoTabs false ++ JideTabbedPane.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.noIconMargin 2 ++ JideTabbedPane.selectedTabBackground [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundDk #ffc73c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundLt #e68b2c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.selectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.showCloseButtonOnTab false ++ JideTabbedPane.showIconOnTab true ++ JideTabbedPane.tabAreaBackgroundDk [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundLt [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabListBackground #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabRectPadding 2 ++ JideTabbedPane.textIconGap 4 ++ JideTabbedPane.textMarginVertical 4 ++ JideTabbedPane.textPadding 6 ++ JideTabbedPane.unselectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + + +#---- MeterProgressBar ---- + ++ MeterProgressBar.background #000000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] ++ MeterProgressBar.cellBackground #008000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellForeground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellLength 2 ++ MeterProgressBar.cellSpacing 2 ++ MeterProgressBar.foreground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBarUI com.jidesoft.plaf.basic.MeterProgressBarUI + + +#---- Spinner ---- + +- Spinner.font [active] $defaultFont [UI] ++ Spinner.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- StyledLabel ---- + ++ StyledLabelUI com.jidesoft.plaf.basic.BasicStyledLabelUI + + +#---- TextArea ---- + +- TextArea.font [active] $defaultFont [UI] ++ TextArea.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Theme ---- + ++ Theme.highContrast [active] false ++ Theme.painter [unknown type] java.util.HashMap + + +#---- jidesoft ---- + ++ jidesoft.extensionInstalled true ++ jidesoft.extensionStyle 0 diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_InputMap_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_InputMap_1.8.0_202.txt new file mode 100644 index 00000000..b8f83382 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-FlatLightLaf_InputMap_1.8.0_202.txt @@ -0,0 +1,38 @@ +#---- JideButton ---- + ++ JideButton.focusInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ENTER pressed + SPACE pressed + released ENTER released + released SPACE released + + +#---- JideSplitButton ---- + ++ JideSplitButton.focusInputMap [lazy] 6 javax.swing.plaf.InputMapUIResource [UI] + DOWN downPressed + ENTER pressed + SPACE pressed + released DOWN downReleased + released ENTER released + released SPACE released + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.ancestorInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ctrl KP_UP requestFocus + ctrl PAGE_DOWN navigatePageDown + ctrl PAGE_UP navigatePageUp + ctrl UP requestFocus ++ JideTabbedPane.focusInputMap [lazy] 10 javax.swing.plaf.InputMapUIResource [UI] + ctrl DOWN requestFocusForVisibleComponent + ctrl KP_DOWN requestFocusForVisibleComponent + DOWN navigateDown + KP_DOWN navigateDown + KP_LEFT navigateLeft + KP_RIGHT navigateRight + KP_UP navigateUp + LEFT navigateLeft + RIGHT navigateRight + UP navigateUp diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_1.8.0_202.txt new file mode 100644 index 00000000..f0bf5244 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_1.8.0_202.txt @@ -0,0 +1,245 @@ +#---- ButtonPanel ---- + ++ ButtonPanel.buttonGap 5 ++ ButtonPanel.groupGap 5 ++ ButtonPanel.minButtonWidth 57 ++ ButtonPanel.oppositeOrder H ++ ButtonPanel.order ACO + + +#---- Cursor ---- + ++ Cursor.delete 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.drag 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragText 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragTextStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.east 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.float 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.horizontal 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.hsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveEast 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveWest 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.north 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.percentage 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.south 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.tab 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vertical 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.west 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) + + +#---- FolderChooser ---- + ++ FolderChooserUI com.jidesoft.plaf.basic.BasicFolderChooserUI + + +#---- FormattedTextField ---- + +- FormattedTextField.font [active] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ FormattedTextField.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- Gripper ---- + ++ Gripper.foreground #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ Gripper.painter [unknown type] com.jidesoft.plaf.vsnet.VsnetMetalUtils$1 [UI] ++ Gripper.size 8 ++ GripperUI com.jidesoft.plaf.vsnet.VsnetGripperUI + + +#---- HeaderBox ---- + ++ HeaderBox.background #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ HeaderBoxUI com.jidesoft.plaf.basic.BasicHeaderBoxUI + + +#---- Icon ---- + ++ Icon.floating false + + +#---- JideButton ---- + ++ JideButton.background #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ JideButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideButton.borderColor #000000 java.awt.Color ++ JideButton.darkShadow #7a8a99 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.focusedBackground #f3f7fa javax.swing.plaf.ColorUIResource [UI] ++ JideButton.font Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ JideButton.foreground #333333 sun.swing.PrintColorUIResource [UI] ++ JideButton.highlight #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.light #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.margin 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideButton.selectedAndFocusedBackground #e2ebf4 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.selectedBackground #eaf1f7 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.shadow #b8cfe5 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.textIconGap 4 ++ JideButton.textShiftOffset 0 ++ JideButtonUI com.jidesoft.plaf.basic.BasicJideButtonUI + + +#---- JideComboBox ---- + ++ JideComboBoxUI com.jidesoft.plaf.basic.BasicJideComboBoxUI + + +#---- JideLabel ---- + ++ JideLabel.background #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ JideLabel.font Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ JideLabel.foreground #333333 sun.swing.PrintColorUIResource [UI] ++ JideLabelUI com.jidesoft.plaf.basic.BasicJideLabelUI + + +#---- JidePopupMenu ---- + ++ JidePopupMenuUI com.jidesoft.plaf.basic.BasicJidePopupMenuUI + + +#---- JidePopup ---- + ++ JidePopupUI com.jidesoft.plaf.basic.BasicJidePopupUI + + +#---- JideScrollPane ---- + ++ JideScrollPane.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + + +#---- JideSplitButton ---- + ++ JideSplitButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideSplitButton.borderPainted false ++ JideSplitButton.font Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ JideSplitButton.margin 3,3,3,7 javax.swing.plaf.InsetsUIResource [UI] ++ JideSplitButton.selectionBackground #a3b8cc javax.swing.plaf.ColorUIResource [UI] ++ JideSplitButton.textIconGap 4 ++ JideSplitButtonUI com.jidesoft.plaf.metal.MetalJideSplitButtonUI + + +#---- JideSplitPane ---- + ++ JideSplitPane.dividerSize 3 + + +#---- JideSplitPaneDivider ---- + ++ JideSplitPaneDivider.background #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ JideSplitPaneDivider.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideSplitPaneDivider.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetMetalUtils$1 [UI] + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.background #f4f8fb javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideTabbedPane.buttonMargin 5 ++ JideTabbedPane.buttonSize 18 ++ JideTabbedPane.closeButtonAlignment 11 ++ JideTabbedPane.closeButtonLeftMargin 2 ++ JideTabbedPane.closeButtonMargin 2 ++ JideTabbedPane.closeButtonMarginHorizonal 3 ++ JideTabbedPane.closeButtonMarginSize 6 ++ JideTabbedPane.closeButtonMarginVertical 3 ++ JideTabbedPane.closeButtonRightMargin 2 ++ JideTabbedPane.compressedStyleCloseButtonMarginHorizontal 0 ++ JideTabbedPane.compressedStyleCloseButtonMarginVertical 0 ++ JideTabbedPane.compressedStyleIconMargin 12 ++ JideTabbedPane.compressedStyleNoIconRectSize 24 ++ JideTabbedPane.contentBorderInsets 2,2,2,2 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.darkShadow #333333 sun.swing.PrintColorUIResource [UI] ++ JideTabbedPane.defaultResizeMode 1 ++ JideTabbedPane.defaultTabBorderShadowColor #736d63 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultTabColorTheme 3 ++ JideTabbedPane.defaultTabShape 2 ++ JideTabbedPane.fitStyleBoundSize 8 ++ JideTabbedPane.fitStyleFirstTabMargin 4 ++ JideTabbedPane.fitStyleIconMinWidth 24 ++ JideTabbedPane.fitStyleTextMinWidth 16 ++ JideTabbedPane.fixedStyleRectSize 60 ++ JideTabbedPane.font Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.foreground #333333 sun.swing.PrintColorUIResource [UI] ++ JideTabbedPane.gripLeftMargin 4 ++ JideTabbedPane.gripperPainter [unknown type] com.jidesoft.plaf.vsnet.VsnetMetalUtils$1 [UI] ++ JideTabbedPane.highlight #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.iconMargin 5 ++ JideTabbedPane.ignoreContentBorderInsetsIfNoTabs false ++ JideTabbedPane.light #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.noIconMargin 2 ++ JideTabbedPane.selectedTabBackground #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundDk #ffc73c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundLt #e68b2c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabFont Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.selectedTabTextForeground #7a8a99 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.shadow #b8cfe5 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.showCloseButtonOnTab false ++ JideTabbedPane.showIconOnTab true ++ JideTabbedPane.tabAreaBackground #f4f8fb javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundDk #eeeeee javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundLt #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaInsets 2,4,0,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabInsets 1,4,1,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabListBackground #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabRectPadding 2 ++ JideTabbedPane.tabRunOverlay 2 ++ JideTabbedPane.textIconGap 4 ++ JideTabbedPane.textMarginVertical 4 ++ JideTabbedPane.textPadding 6 ++ JideTabbedPane.unselectedTabTextForeground #7a8a99 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPaneUI com.jidesoft.plaf.vsnet.VsnetJideTabbedPaneUI + + +#---- MenuBar ---- + +- MenuBar.border [lazy] 0,0,2,0 false javax.swing.plaf.metal.MetalBorders$MenuBarBorder [UI] ++ MenuBar.border 1,0,1,0 false javax.swing.plaf.BorderUIResource [UI] + + +#---- MeterProgressBar ---- + ++ MeterProgressBar.background #000000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] ++ MeterProgressBar.cellBackground #008000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellForeground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellLength 2 ++ MeterProgressBar.cellSpacing 2 ++ MeterProgressBar.foreground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBarUI com.jidesoft.plaf.basic.MeterProgressBarUI + + +#---- RangeSlider ---- + ++ RangeSliderUI com.jidesoft.plaf.metal.MetalRangeSliderUI + + +#---- Resizable ---- + ++ Resizable.resizeBorder 4,4,4,4 true com.jidesoft.plaf.vsnet.ResizeFrameBorder [UI] + + +#---- Spinner ---- + +- Spinner.font [active] Dialog bold 12 javax.swing.plaf.FontUIResource [UI] ++ Spinner.font Dialog plain 12 javax.swing.plaf.FontUIResource [UI] + + +#---- StyledLabel ---- + ++ StyledLabelUI com.jidesoft.plaf.basic.BasicStyledLabelUI + + +#---- Theme ---- + ++ Theme.painter [unknown type] java.util.HashMap + + +#---- TristateCheckBox ---- + ++ TristateCheckBox.icon 13,13 com.jidesoft.plaf.metal.MetalIconFactory$CheckBoxIcon [UI] + + +#---- jidesoft ---- + ++ jidesoft.extensionInstalled true ++ jidesoft.extensionStyle 0 diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_InputMap_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_InputMap_1.8.0_202.txt new file mode 100644 index 00000000..acd5f3f5 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-MetalLookAndFeel_InputMap_1.8.0_202.txt @@ -0,0 +1,34 @@ +#---- JideButton ---- + ++ JideButton.focusInputMap [lazy] 2 javax.swing.plaf.InputMapUIResource [UI] + SPACE pressed + released SPACE released + + +#---- JideSplitButton ---- + ++ JideSplitButton.focusInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + DOWN downPressed + SPACE pressed + released DOWN downReleased + released SPACE released + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.ancestorInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ctrl KP_UP requestFocus + ctrl PAGE_DOWN navigatePageDown + ctrl PAGE_UP navigatePageUp + ctrl UP requestFocus ++ JideTabbedPane.focusInputMap [lazy] 10 javax.swing.plaf.InputMapUIResource [UI] + ctrl DOWN requestFocusForVisibleComponent + ctrl KP_DOWN requestFocusForVisibleComponent + DOWN navigateDown + KP_DOWN navigateDown + KP_LEFT navigateLeft + KP_RIGHT navigateRight + KP_UP navigateUp + LEFT navigateLeft + RIGHT navigateRight + UP navigateUp diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_1.8.0_202.txt new file mode 100644 index 00000000..934e4d54 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_1.8.0_202.txt @@ -0,0 +1,410 @@ +#---- ButtonPanel ---- + ++ ButtonPanel.buttonGap 6 ++ ButtonPanel.groupGap 6 ++ ButtonPanel.minButtonWidth 75 ++ ButtonPanel.oppositeOrder H ++ ButtonPanel.order ACO + + +#---- CheckBoxMenuItem ---- + +- CheckBoxMenuItem.acceleratorFont [lazy] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ CheckBoxMenuItem.acceleratorFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- CheckBoxMenuItem.checkIcon [active] 22,22 com.sun.java.swing.plaf.windows.WindowsIconFactory$VistaMenuItemCheckIconFactory$VistaMenuItemCheckIcon [UI] ++ CheckBoxMenuItem.checkIcon 20,20 com.jidesoft.icons.MenuCheckIcon [UI] + +- CheckBoxMenuItem.font [active] Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ CheckBoxMenuItem.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- CheckBoxMenuItem.margin [active] 0,0,0,0 javax.swing.plaf.InsetsUIResource [UI] ++ CheckBoxMenuItem.margin 3,0,3,0 javax.swing.plaf.InsetsUIResource [UI] + ++ CheckBoxMenuItem.mouseHoverBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] ++ CheckBoxMenuItem.mouseHoverBorder 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + +- CheckBoxMenuItem.selectionBackground [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ CheckBoxMenuItem.selectionBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] + +- CheckBoxMenuItem.selectionForeground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ CheckBoxMenuItem.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + ++ CheckBoxMenuItem.textIconGap 8 + +- CheckBoxMenuItemUI com.sun.java.swing.plaf.windows.WindowsCheckBoxMenuItemUI ++ CheckBoxMenuItemUI com.jidesoft.plaf.vsnet.VsnetCheckBoxMenuItemUI + + +#---- Content ---- + ++ Content.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] + + +#---- Cursor ---- + ++ Cursor.delete 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.drag 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragText 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.dragTextStop 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.east 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.float 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.horizontal 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.hsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveEast 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.moveWest 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.north 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.percentage 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.south 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.tab 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vertical 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.vsplit 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) ++ Cursor.west 32,32 javax.swing.ImageIcon (java.awt.image.BufferedImage) + + +#---- FolderChooser ---- + ++ FolderChooserUI com.jidesoft.plaf.basic.BasicFolderChooserUI + + +#---- FormattedTextField ---- + +- FormattedTextField.font [active] Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ FormattedTextField.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] + + +#---- Gripper ---- + ++ Gripper.foreground [active] #b2b2b2 javax.swing.plaf.ColorUIResource [UI] ++ Gripper.painter [unknown type] com.jidesoft.plaf.office2003.Office2003WindowsUtils$1 [UI] ++ Gripper.size 8 ++ GripperUI com.jidesoft.plaf.vsnet.VsnetGripperUI + + +#---- HeaderBox ---- + ++ HeaderBox.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ HeaderBoxUI com.jidesoft.plaf.basic.BasicHeaderBoxUI + + +#---- Icon ---- + ++ Icon.floating false + + +#---- JideButton ---- + ++ JideButton.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideButton.borderColor [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.darkShadow [active] #696969 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.focusedBackground [active] #cfeafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ JideButton.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.margin 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideButton.selectedAndFocusedBackground [active] #88caff javax.swing.plaf.ColorUIResource [UI] ++ JideButton.selectedBackground [active] #acdafe javax.swing.plaf.ColorUIResource [UI] ++ JideButton.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideButton.textIconGap 4 ++ JideButton.textShiftOffset 0 ++ JideButtonUI com.jidesoft.plaf.basic.BasicJideButtonUI + + +#---- JideComboBox ---- + ++ JideComboBoxUI com.jidesoft.plaf.basic.BasicJideComboBoxUI + + +#---- JideLabel ---- + ++ JideLabel.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideLabel.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ JideLabel.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideLabelUI com.jidesoft.plaf.basic.BasicJideLabelUI + + +#---- JidePopupMenu ---- + ++ JidePopupMenuUI com.jidesoft.plaf.windows.WindowsJidePopupMenuUI + + +#---- JidePopup ---- + ++ JidePopupUI com.jidesoft.plaf.basic.BasicJidePopupUI + + +#---- JideScrollPane ---- + ++ JideScrollPane.border line: #828790 javax.swing.plaf.ColorUIResource [UI] 1 false 1,1,1,1 true com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder [UI] + + +#---- JideSplitButton ---- + ++ JideSplitButton.border 0,0,0,0 false javax.swing.plaf.basic.BasicBorders$MarginBorder [UI] ++ JideSplitButton.borderPainted false ++ JideSplitButton.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ JideSplitButton.margin 3,3,3,7 javax.swing.plaf.InsetsUIResource [UI] ++ JideSplitButton.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitButton.textIconGap 4 ++ JideSplitButtonUI com.jidesoft.plaf.basic.BasicJideSplitButtonUI + + +#---- JideSplitPane ---- + ++ JideSplitPane.dividerSize 4 + + +#---- JideSplitPaneDivider ---- + ++ JideSplitPaneDivider.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideSplitPaneDivider.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideSplitPaneDivider.gripperPainter [unknown type] com.jidesoft.plaf.office2003.Office2003WindowsUtils$1 [UI] + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.alwaysShowLineBorder false ++ JideTabbedPane.background [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.border 0,0,0,0 false javax.swing.plaf.BorderUIResource [UI] ++ JideTabbedPane.buttonMargin 5 ++ JideTabbedPane.buttonSize 18 ++ JideTabbedPane.closeButtonAlignment 11 ++ JideTabbedPane.closeButtonLeftMargin 2 ++ JideTabbedPane.closeButtonMargin 2 ++ JideTabbedPane.closeButtonMarginHorizonal 3 ++ JideTabbedPane.closeButtonMarginSize 6 ++ JideTabbedPane.closeButtonMarginVertical 3 ++ JideTabbedPane.closeButtonRightMargin 2 ++ JideTabbedPane.compressedStyleCloseButtonMarginHorizontal 0 ++ JideTabbedPane.compressedStyleCloseButtonMarginVertical 0 ++ JideTabbedPane.compressedStyleIconMargin 12 ++ JideTabbedPane.compressedStyleNoIconRectSize 24 ++ JideTabbedPane.contentBorderInsets 3,3,3,3 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.darkShadow [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultResizeMode 1 ++ JideTabbedPane.defaultTabBorderShadowColor #736d63 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.defaultTabColorTheme 2 ++ JideTabbedPane.defaultTabShape 4 ++ JideTabbedPane.fitStyleBoundSize 8 ++ JideTabbedPane.fitStyleFirstTabMargin 4 ++ JideTabbedPane.fitStyleIconMinWidth 24 ++ JideTabbedPane.fitStyleTextMinWidth 16 ++ JideTabbedPane.fixedStyleRectSize 60 ++ JideTabbedPane.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.foreground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.gripLeftMargin 4 ++ JideTabbedPane.gripperPainter [unknown type] com.jidesoft.plaf.office2003.Office2003WindowsUtils$1 [UI] ++ JideTabbedPane.highlight [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.iconMargin 5 ++ JideTabbedPane.ignoreContentBorderInsetsIfNoTabs false ++ JideTabbedPane.light [active] #e3e3e3 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.noIconMargin 2 ++ JideTabbedPane.selectedTabBackground [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundDk #ffc73c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabBackgroundLt #e68b2c javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.selectedTabFont Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ JideTabbedPane.selectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.shadow [active] #a0a0a0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.showCloseButtonOnTab false ++ JideTabbedPane.showFocusIndicator true ++ JideTabbedPane.showIconOnTab true ++ JideTabbedPane.tabAreaBackground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundDk [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaBackgroundLt [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabAreaInsets 2,4,0,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabInsets 1,4,1,4 javax.swing.plaf.InsetsUIResource [UI] ++ JideTabbedPane.tabListBackground #ffffff javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPane.tabRectPadding 2 ++ JideTabbedPane.tabRunOverlay 2 ++ JideTabbedPane.textIconGap 4 ++ JideTabbedPane.textMarginVertical 4 ++ JideTabbedPane.textPadding 6 ++ JideTabbedPane.unselectedTabTextForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] ++ JideTabbedPaneUI com.jidesoft.plaf.office2003.Office2003JideTabbedPaneUI + + +#---- Menu ---- + +- Menu.acceleratorFont [lazy] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ Menu.acceleratorFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- Menu.checkIcon [active] 22,22 com.sun.java.swing.plaf.windows.WindowsIconFactory$VistaMenuItemCheckIconFactory$VistaMenuItemCheckIcon [UI] ++ Menu.checkIcon 20,20 com.jidesoft.icons.MenuCheckIcon [UI] + +- Menu.font [active] Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ Menu.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- Menu.margin [active] 0,0,0,0 javax.swing.plaf.InsetsUIResource [UI] ++ Menu.margin 2,7,3,7 javax.swing.plaf.InsetsUIResource [UI] + ++ Menu.mouseHoverBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] ++ Menu.mouseHoverBorder 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + +- Menu.selectionBackground [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ Menu.selectionBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] + +- Menu.selectionForeground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ Menu.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + +- Menu.submenuPopupOffsetX -4 ++ Menu.submenuPopupOffsetX 1 + +- Menu.submenuPopupOffsetY -3 ++ Menu.submenuPopupOffsetY 0 + ++ Menu.textIconGap 2 + + +#---- MenuBar ---- + +- MenuBar.border [lazy] 0,0,2,0 false javax.swing.plaf.basic.BasicBorders$MenuBarBorder [UI] ++ MenuBar.border 1,2,1,2 false javax.swing.plaf.BorderUIResource [UI] + + +#---- MenuItem ---- + ++ MenuItem.accelEndGap 18 + +- MenuItem.acceleratorFont [active] Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ MenuItem.acceleratorFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- MenuItem.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ MenuItem.background [active] #fcfcfc javax.swing.plaf.ColorUIResource [UI] + +- MenuItem.checkIcon [active] 22,22 com.sun.java.swing.plaf.windows.WindowsIconFactory$VistaMenuItemCheckIconFactory$VistaMenuItemCheckIcon [UI] ++ MenuItem.checkIcon 20,20 com.jidesoft.icons.MenuCheckIcon [UI] + +- MenuItem.font [active] Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ MenuItem.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- MenuItem.margin [active] 0,0,0,0 javax.swing.plaf.InsetsUIResource [UI] ++ MenuItem.margin 3,0,3,0 javax.swing.plaf.InsetsUIResource [UI] + +- MenuItem.selectionBackground [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ MenuItem.selectionBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] + ++ MenuItem.selectionBorderColor [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] + +- MenuItem.selectionForeground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ MenuItem.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + ++ MenuItem.shadowColor [active] #fafafa javax.swing.plaf.ColorUIResource [UI] ++ MenuItem.shadowWidth 24 ++ MenuItem.textIconGap 8 + +- MenuItemUI com.sun.java.swing.plaf.windows.WindowsMenuItemUI ++ MenuItemUI com.jidesoft.plaf.vsnet.VsnetMenuItemUI + + +#---- Menu ---- + +- MenuUI com.sun.java.swing.plaf.windows.WindowsMenuUI ++ MenuUI com.jidesoft.plaf.vsnet.VsnetMenuUI + + +#---- MeterProgressBar ---- + ++ MeterProgressBar.background #000000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.border 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] ++ MeterProgressBar.cellBackground #008000 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellForeground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBar.cellLength 2 ++ MeterProgressBar.cellSpacing 2 ++ MeterProgressBar.foreground #00ff00 javax.swing.plaf.ColorUIResource [UI] ++ MeterProgressBarUI com.jidesoft.plaf.basic.MeterProgressBarUI + + +#---- PopupMenu ---- + +- PopupMenu.background [active] #f0f0f0 javax.swing.plaf.ColorUIResource [UI] ++ PopupMenu.background [active] #fcfcfc javax.swing.plaf.ColorUIResource [UI] + +- PopupMenu.border [active] javax.swing.plaf.BorderUIResource$CompoundBorderUIResource [UI] + line: #a0a0a0 javax.swing.plaf.ColorUIResource [UI] 1 false 1,1,1,1 true com.sun.java.swing.plaf.windows.XPStyle$XPFillBorder [UI] + 2,2,2,2 false javax.swing.border.EmptyBorder ++ PopupMenu.border [active] 2,2,2,2 false javax.swing.plaf.BorderUIResource [UI] + + +#---- PopupMenuSeparator ---- + ++ PopupMenuSeparator.background [active] #fcfcfc javax.swing.plaf.ColorUIResource [UI] ++ PopupMenuSeparator.foreground [active] #e4e4e4 javax.swing.plaf.ColorUIResource [UI] + +- PopupMenuSeparatorUI com.sun.java.swing.plaf.windows.WindowsPopupMenuSeparatorUI ++ PopupMenuSeparatorUI com.jidesoft.plaf.vsnet.VsnetPopupMenuSeparatorUI + + +#---- RadioButtonMenuItem ---- + +- RadioButtonMenuItem.acceleratorFont [lazy] Dialog plain 12 javax.swing.plaf.FontUIResource [UI] ++ RadioButtonMenuItem.acceleratorFont Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- RadioButtonMenuItem.checkIcon [active] 22,22 com.sun.java.swing.plaf.windows.WindowsIconFactory$VistaMenuItemCheckIconFactory$VistaMenuItemCheckIcon [UI] ++ RadioButtonMenuItem.checkIcon 20,20 com.jidesoft.icons.MenuCheckIcon [UI] + +- RadioButtonMenuItem.font [active] Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] ++ RadioButtonMenuItem.font Segoe UI plain 12 javax.swing.plaf.FontUIResource [UI] + +- RadioButtonMenuItem.margin [active] 0,0,0,0 javax.swing.plaf.InsetsUIResource [UI] ++ RadioButtonMenuItem.margin 3,0,3,0 javax.swing.plaf.InsetsUIResource [UI] + ++ RadioButtonMenuItem.mouseHoverBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] ++ RadioButtonMenuItem.mouseHoverBorder 1,1,1,1 true javax.swing.plaf.BorderUIResource [UI] + +- RadioButtonMenuItem.selectionBackground [active] #0078d7 javax.swing.plaf.ColorUIResource [UI] ++ RadioButtonMenuItem.selectionBackground [active] #f6f6f6 javax.swing.plaf.ColorUIResource [UI] + +- RadioButtonMenuItem.selectionForeground [active] #ffffff javax.swing.plaf.ColorUIResource [UI] ++ RadioButtonMenuItem.selectionForeground [active] #000000 javax.swing.plaf.ColorUIResource [UI] + ++ RadioButtonMenuItem.textIconGap 8 + +- RadioButtonMenuItemUI com.sun.java.swing.plaf.windows.WindowsRadioButtonMenuItemUI ++ RadioButtonMenuItemUI com.jidesoft.plaf.vsnet.VsnetRadioButtonMenuItemUI + + +#---- RangeSlider ---- + ++ RangeSliderUI com.jidesoft.plaf.windows.WindowsRangeSliderUI + + +#---- Resizable ---- + ++ Resizable.resizeBorder [active] 4,4,4,4 true com.jidesoft.plaf.vsnet.ResizeFrameBorder [UI] + + +#---- Spinner ---- + +- Spinner.font [active] Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] ++ Spinner.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] + + +#---- StyledLabel ---- + ++ StyledLabelUI com.jidesoft.plaf.basic.BasicStyledLabelUI + + +#---- TextArea ---- + +- TextArea.font [active] Monospaced plain 13 javax.swing.plaf.FontUIResource [UI] ++ TextArea.font Tahoma plain 11 javax.swing.plaf.FontUIResource [UI] + + +#---- Theme ---- + ++ Theme.highContrast [active] false ++ Theme.painter [unknown type] java.util.HashMap + + +#---- TristateCheckBox ---- + ++ TristateCheckBox.icon 13,13 com.jidesoft.plaf.windows.WindowsIconFactory$CheckBoxIcon [UI] + + +#---- jidesoft ---- + ++ jidesoft.extensionInstalled true ++ jidesoft.extensionStyle 3 diff --git a/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_InputMap_1.8.0_202.txt b/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_InputMap_1.8.0_202.txt new file mode 100644 index 00000000..b8f83382 --- /dev/null +++ b/flatlaf-testing/dumps/uidefaults/JIDE-WindowsLookAndFeel_InputMap_1.8.0_202.txt @@ -0,0 +1,38 @@ +#---- JideButton ---- + ++ JideButton.focusInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ENTER pressed + SPACE pressed + released ENTER released + released SPACE released + + +#---- JideSplitButton ---- + ++ JideSplitButton.focusInputMap [lazy] 6 javax.swing.plaf.InputMapUIResource [UI] + DOWN downPressed + ENTER pressed + SPACE pressed + released DOWN downReleased + released ENTER released + released SPACE released + + +#---- JideTabbedPane ---- + ++ JideTabbedPane.ancestorInputMap [lazy] 4 javax.swing.plaf.InputMapUIResource [UI] + ctrl KP_UP requestFocus + ctrl PAGE_DOWN navigatePageDown + ctrl PAGE_UP navigatePageUp + ctrl UP requestFocus ++ JideTabbedPane.focusInputMap [lazy] 10 javax.swing.plaf.InputMapUIResource [UI] + ctrl DOWN requestFocusForVisibleComponent + ctrl KP_DOWN requestFocusForVisibleComponent + DOWN navigateDown + KP_DOWN navigateDown + KP_LEFT navigateLeft + KP_RIGHT navigateRight + KP_UP navigateUp + LEFT navigateLeft + RIGHT navigateRight + UP navigateUp diff --git a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java index e3333082..0042a763 100644 --- a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java +++ b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java @@ -32,6 +32,7 @@ import java.io.StringReader; import java.io.StringWriter; import java.lang.reflect.Array; import java.lang.reflect.Field; +import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; @@ -67,6 +68,7 @@ import com.formdev.flatlaf.testing.FlatTestLaf; import com.formdev.flatlaf.ui.FlatLineBorder; import com.formdev.flatlaf.ui.FlatUIUtils; import com.formdev.flatlaf.util.ColorFunctions.ColorFunction; +import com.jidesoft.plaf.LookAndFeelFactory; import com.formdev.flatlaf.util.DerivedColor; import com.formdev.flatlaf.util.StringUtils; import com.formdev.flatlaf.util.SystemInfo; @@ -93,33 +95,33 @@ public class UIDefaultsDump File dir = new File( "dumps/uidefaults" ); - dump( FlatLightLaf.class.getName(), dir ); - dump( FlatDarkLaf.class.getName(), dir ); + dump( FlatLightLaf.class.getName(), dir, false ); + dump( FlatDarkLaf.class.getName(), dir, false ); if( SystemInfo.isWindows ) { - dump( FlatIntelliJLaf.class.getName(), dir ); - dump( FlatDarculaLaf.class.getName(), dir ); + dump( FlatIntelliJLaf.class.getName(), dir, false ); + dump( FlatDarculaLaf.class.getName(), dir, false ); } - dump( FlatTestLaf.class.getName(), dir ); + dump( FlatTestLaf.class.getName(), dir, false ); -// dump( MyBasicLookAndFeel.class.getName(), dir ); -// dump( MetalLookAndFeel.class.getName(), dir ); -// dump( NimbusLookAndFeel.class.getName(), dir ); +// dump( MyBasicLookAndFeel.class.getName(), dir, false ); +// dump( MetalLookAndFeel.class.getName(), dir, false ); +// dump( NimbusLookAndFeel.class.getName(), dir, false ); // // if( SystemInfo.isWindows ) -// dump( "com.sun.java.swing.plaf.windows.WindowsLookAndFeel", dir ); +// dump( "com.sun.java.swing.plaf.windows.WindowsLookAndFeel", dir, false ); // else if( SystemInfo.isMacOS ) -// dump( "com.apple.laf.AquaLookAndFeel", dir ); +// dump( "com.apple.laf.AquaLookAndFeel", dir, false ); // else if( SystemInfo.isLinux ) -// dump( "com.sun.java.swing.plaf.gtk.GTKLookAndFeel", dir ); +// dump( "com.sun.java.swing.plaf.gtk.GTKLookAndFeel", dir, false ); // -// dump( "com.jgoodies.looks.plastic.PlasticLookAndFeel", dir ); -// dump( "com.jgoodies.looks.windows.WindowsLookAndFeel", dir ); -// dump( "com.alee.laf.WebLookAndFeel", dir ); +// dump( "com.jgoodies.looks.plastic.PlasticLookAndFeel", dir, false ); +// dump( "com.jgoodies.looks.windows.WindowsLookAndFeel", dir, false ); +// dump( "com.alee.laf.WebLookAndFeel", dir, false ); // try { // EventQueue.invokeAndWait( () -> { -// dump( "org.pushingpixels.substance.api.skin.SubstanceGraphiteAquaLookAndFeel", dir ); +// dump( "org.pushingpixels.substance.api.skin.SubstanceGraphiteAquaLookAndFeel", dir, false ); // } ); // } catch( Exception ex ) { // // TODO Auto-generated catch block @@ -128,6 +130,14 @@ public class UIDefaultsDump // dumpIntelliJThemes( dir ); + // JIDE +// dump( FlatLightLaf.class.getName(), dir, true ); +// dump( FlatDarkLaf.class.getName(), dir, true ); +// dump( MyBasicLookAndFeel.class.getName(), dir, true ); +// dump( MetalLookAndFeel.class.getName(), dir, true ); +// if( SystemInfo.isWindows ) +// dump( "com.sun.java.swing.plaf.windows.WindowsLookAndFeel", dir, true ); + // dump UI keys UIDefaultsKeysDump.main( new String[0] ); } @@ -143,42 +153,44 @@ public class UIDefaultsDump ? new File( dir, relativeLafClassName.substring( 0, relativeLafClassName.lastIndexOf( '.' ) ).replace( '.', '/' ) ) : dir; - dump( lafClassName, dir2 ); + dump( lafClassName, dir2, false ); } } - private static void dump( String lookAndFeelClassName, File dir ) { + private static void dump( String lookAndFeelClassName, File dir, boolean jide ) { try { UIManager.setLookAndFeel( lookAndFeelClassName ); + if( jide ) + LookAndFeelFactory.installJideExtension(); } catch( Exception ex ) { ex.printStackTrace(); return; } - dump( dir, null ); - } - - private static void dump( File dir, String name ) { LookAndFeel lookAndFeel = UIManager.getLookAndFeel(); + UIDefaults defaults = UIManager.getLookAndFeelDefaults(); - dump( dir, name, "", lookAndFeel, key -> !key.contains( "InputMap" ) ); + // make a copy of the defaults because some lazy values are resolved + // when dumping other values (e.g. in constructor of FlatInternalFrameCloseIcon + // the lazy color InternalFrame.closeHoverBackground is resolved) + defaults = (UIDefaults) defaults.clone(); + + dump( dir, "", lookAndFeel, defaults, key -> !key.contains( "InputMap" ) ); if( lookAndFeel.getClass() == FlatLightLaf.class || !(lookAndFeel instanceof FlatLaf) ) - dump( dir, name, "_InputMap", lookAndFeel, key -> key.contains( "InputMap" ) ); + dump( dir, "_InputMap", lookAndFeel, defaults, key -> key.contains( "InputMap" ) ); } - private static void dump( File dir, String name, String nameSuffix, - LookAndFeel lookAndFeel, Predicate keyFilter ) + private static void dump( File dir, String nameSuffix, + LookAndFeel lookAndFeel, UIDefaults defaults, Predicate keyFilter ) { // dump to string StringWriter stringWriter = new StringWriter( 100000 ); - new UIDefaultsDump( lookAndFeel ).dump( new PrintWriter( stringWriter ), keyFilter ); + new UIDefaultsDump( lookAndFeel, defaults ).dump( new PrintWriter( stringWriter ), keyFilter ); - if( name == null ) { - name = lookAndFeel instanceof MyBasicLookAndFeel - ? BasicLookAndFeel.class.getSimpleName() - : lookAndFeel.getClass().getSimpleName(); - } + String name = lookAndFeel instanceof MyBasicLookAndFeel + ? BasicLookAndFeel.class.getSimpleName() + : lookAndFeel.getClass().getSimpleName(); String osSuffix = (SystemInfo.isMacOS && lookAndFeel instanceof FlatLaf) ? "-mac" : ((SystemInfo.isLinux && lookAndFeel instanceof FlatLaf) @@ -197,6 +209,10 @@ public class UIDefaultsDump origFile = new File( dir, "FlatLightLaf_" + javaVersion + ".txt" ); else if( lookAndFeel instanceof FlatDarculaLaf && SystemInfo.isWindows ) origFile = new File( dir, "FlatDarkLaf_" + javaVersion + ".txt" ); + else if( defaults.getBoolean( "jidesoft.extensionInstalled" ) ) { + origFile = file; + file = new File( file.getParentFile(), "JIDE-" + file.getName() ); + } if( origFile != null ) { try { Map defaults1 = parse( new FileReader( origFile ) ); @@ -228,23 +244,70 @@ public class UIDefaultsDump // diff header values for( String key : new String[] { "Class", "ID", "Name", "Java", "OS" } ) - diffValue( buf, key, defaults1.remove( key ), defaults2.remove( key ) ); + appendDiff( buf, diffValue( key, defaults1.remove( key ), defaults2.remove( key ) ), null ); // diff values - for( String key : keys ) - diffValue( buf, key, defaults1.get( key ), defaults2.get( key ) ); + ArrayList diffs = new ArrayList<>( 100 ); + for( String key : keys ) { + Diff diff = diffValue( key, defaults1.get( key ), defaults2.get( key ) ); + if( diff != null ) + diffs.add( diff ); + } + + // output diff values + for( int i = 0; i < diffs.size(); i++ ) { + Diff prevDiff = (i > 0) ? diffs.get( i - 1 ) : null; + Diff diff = diffs.get( i ); + appendDiff( buf, diff, prevDiff ); + } return buf.toString(); } - private static void diffValue( StringBuilder buf, String key, String value1, String value2 ) { - if( !Objects.equals( value1, value2 ) ) { - if( value1 != null ) - buf.append( "- " ).append( key ).append( value1 ).append( '\n' ); - if( value2 != null ) - buf.append( "+ " ).append( key ).append( value2 ).append( '\n' ); - buf.append( '\n' ); + private static Diff diffValue( String key, String value1, String value2 ) { + if( Objects.equals( value1, value2 ) ) + return null; + + Diff diff = new Diff(); + diff.key = key; + if( value1 != null ) + diff.value1 = value1; + if( value2 != null ) + diff.value2 = value2; + return diff; + } + + private static class Diff { + String key; + String value1; + String value2; + } + + private static void appendDiff( StringBuilder buf, Diff diff, Diff prevDiff ) { + if( diff == null ) + return; + + String prefix = keyPrefix( diff.key ); + if( !prefix.isEmpty() ) { + if( prevDiff == null || !prefix.equals( keyPrefix( prevDiff.key ) ) ) { + if( prevDiff != null ) + buf.append( "\n\n" ); + buf.append( "#---- " ).append( prefix ).append( " ----\n\n" ); + } else if( prevDiff != null ) { + // append empty line only if necessary + if( !((prevDiff.value1 != null && prevDiff.value2 == null && diff.value1 != null && diff.value2 == null) || + (prevDiff.value1 == null && prevDiff.value2 != null && diff.value1 == null && diff.value2 != null)) ) + buf.append( '\n' ); + } } + + if( diff.value1 != null ) + buf.append( "- " ).append( diff.key ).append( diff.value1 ).append( '\n' ); + if( diff.value2 != null ) + buf.append( "+ " ).append( diff.key ).append( diff.value2 ).append( '\n' ); + + if( prefix.isEmpty() ) + buf.append( '\n' ); } private static Map parse( Reader in ) throws IOException { @@ -280,9 +343,9 @@ public class UIDefaultsDump return defaults; } - private UIDefaultsDump( LookAndFeel lookAndFeel ) { + private UIDefaultsDump( LookAndFeel lookAndFeel, UIDefaults defaults ) { this.lookAndFeel = lookAndFeel; - this.defaults = lookAndFeel.getDefaults(); + this.defaults = defaults; derivedColorKeys = loadDerivedColorKeys(); isIntelliJTheme = (lookAndFeel instanceof IntelliJTheme.ThemeLaf); @@ -310,12 +373,7 @@ public class UIDefaultsDump if( !keyFilter.test( strKey ) ) return; - int dotIndex = strKey.indexOf( '.' ); - String prefix = (dotIndex > 0) - ? strKey.substring( 0, dotIndex ) - : strKey.endsWith( "UI" ) - ? strKey.substring( 0, strKey.length() - 2 ) - : ""; + String prefix = keyPrefix( strKey ); if( !prefix.equals( lastPrefix ) ) { lastPrefix = prefix; out.printf( "%n%n#---- %s ----%n%n", prefix ); @@ -327,6 +385,15 @@ public class UIDefaultsDump } ); } + private static String keyPrefix( String key ) { + int dotIndex = key.indexOf( '.' ); + return (dotIndex > 0) + ? key.substring( 0, dotIndex ) + : key.endsWith( "UI" ) + ? key.substring( 0, key.length() - 2 ) + : ""; + } + private void dumpValue( PrintWriter out, String key, Object value ) { if( value == null || value instanceof String ||