UIDefaults: Unterschied zwischen den Versionen
(→FormView) |
K |
||
(23 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
+ | =Einführung= | ||
+ | |||
+ | Die Klasse {{JAPI|UIDefaults}} aus dem Paket '''javax.swing''' kapselt in einer Hashtable Standardeinstellungen wie Schriftart und Farbe von GUI-Komponenten. | ||
+ | |||
+ | '''Die Vererbungshierarchie:''' | ||
+ | java.lang.Object | ||
+ | java.util.Dictionary<K,V> | ||
+ | java.util.Hashtable<Object,Object> | ||
+ | javax.swing.UIDefaults | ||
+ | |||
+ | Mit Hilfe des {{JAPI|UIManager}} ist es möglich, Werte für Komponenten zu setzen oder zu verändern, so dass diese für alle GUI-Komponenten der laufenden Applikation gelten. | ||
+ | |||
+ | Im Folgenden werden die Schlüsselnamen und Standardwerte von Swing-Komponenten aufgeführt. | ||
+ | |||
+ | =Beispiele zum Setzen von Standardwerten= | ||
+ | Die Einstellungen an grafischen Komponenten sollten vor ihrer Darstellung auf dem Bildschirm gemacht werden, am besten also in der main()-[[Methode]]. | ||
+ | |||
+ | <syntaxhighlight lang="java">UIManager.put("TextField.background", new Color(255,0,0));</syntaxhighlight> | ||
+ | Damit erhalten alle in der Anwendung eingesetzten Objekte vom Typ {{JAPI|JTextField}} die eingestellte Hintergrundfarbe. | ||
+ | |||
+ | <syntaxhighlight lang="java">UIManager.put("SplitPane.border", BorderFactory.createEmptyBorder()); | ||
+ | UIManager.put("SplitPaneDivider.border", BorderFactory.createEmptyBorder());</syntaxhighlight> | ||
+ | Damit werden die tiefen 3D-Rahmen einer {{JAPI|JSplitPane}} entfernt. Die JSplitpane sieht damit, ganz besonders unter Windows 7, 8, 10 und 11, etwas zeitgemäßer aus. | ||
+ | |||
=Farbschema= | =Farbschema= | ||
+ | Die Farben der an der Darstellung der [[Benutzeroberfläche]] beteiligten Elemente sind je nach verwendetem [[LookAndFeel]] in Farbkonstanten gespeichert. | ||
+ | |||
+ | {| {{Prettytable}} | ||
+ | ! Farbname (java.awt.SystemColor) | ||
+ | ! Wert der Farbkonstante | ||
+ | ! Zugehörigkeit | ||
+ | |- | ||
+ | |activeCaption | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | ||
+ | |Hintergrundfarbe für die Titelleiste von selektierten Fenstern | ||
+ | |- | ||
+ | |activeCaptionBorder | ||
+ | |=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] | ||
+ | |Rahmenfarbe für die Titelleiste von selektierten Fenstern | ||
+ | |- | ||
+ | |activeCaptionText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Schriftfarbe für die Titelleiste von selektierten Fenstern | ||
+ | |- | ||
+ | |control | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | ||
+ | |Hintergrundfarbe für Dialogelemente | ||
+ | |- | ||
+ | |controlDkShadow | ||
+ | |=javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] | ||
+ | |Dunklere Farbe für den Schatten von Dialogelementen | ||
+ | |- | ||
+ | |controlHighlight | ||
+ | |=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | ||
+ | |Farbe für hervorgehobene Dialogelemente | ||
+ | |- | ||
+ | |controlLtHighlight | ||
+ | |=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | ||
+ | |Helle Farbe für hervorgehobene Dialogelemente | ||
+ | |- | ||
+ | |controlShadow | ||
+ | |=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | ||
+ | |Farbe für den Schatten von Dialogelementen | ||
+ | |- | ||
+ | |controlText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Textfarbe für Dialogelemente | ||
+ | |- | ||
+ | |desktop | ||
+ | |=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] | ||
+ | |Hintergrundfarbe des Desktops | ||
+ | |- | ||
+ | |inactiveCaption | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | ||
+ | |Hintergrundfarbe für die Titelleiste von nicht selektierten Fenstern | ||
+ | |- | ||
+ | |inactiveCaptionBorder | ||
+ | |=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | ||
+ | |Rahmenfarbe für die Titelleiste von nicht selektierten Fenstern | ||
+ | |- | ||
+ | |inactiveCaptionText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Schriftfarbe für die Titelleiste von nicht selektierten Fenstern | ||
+ | |- | ||
+ | |info | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | ||
+ | |Hintergrundfarbe für Hilfetext | ||
+ | |- | ||
+ | |infoText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Textfarbe für Hilfetext | ||
+ | |- | ||
+ | |menu | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | ||
+ | |Hintergrundfarbe für Menüs | ||
+ | |- | ||
+ | |menuText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Textfarbe für Menüs | ||
+ | |- | ||
+ | |scrollbar | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | ||
+ | |Hintergrundfarbe für Scrollleiste | ||
+ | |- | ||
+ | |text | ||
+ | |=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | ||
+ | |Hintergrundfarbe für Textfelder | ||
+ | |- | ||
+ | |textHighlight | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | ||
+ | |Hintergrundfarbe für hervorgehobenen Text | ||
+ | |- | ||
+ | |textHighlightText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Textfarbe für hervorgehobenen Text | ||
+ | |- | ||
+ | |textInactiveText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | ||
+ | |Textfarbe für inaktiven Text | ||
+ | |- | ||
+ | |textText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Textfarbe für Textfelder | ||
+ | |- | ||
+ | |window | ||
+ | |=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | ||
+ | |Hintergrundfarbe für Fenster | ||
+ | |- | ||
+ | |windowBorder | ||
+ | |=javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | ||
+ | |Farbe für Fensterrahmen | ||
+ | |- | ||
+ | |windowText | ||
+ | |=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
+ | |Farbe für Text im Fenster | ||
+ | |} | ||
+ | |||
+ | Im Artikel [[Systemfarben in JTable ausgeben]] haben wir ein kleines Java-Programm bereit gestellt, mit dem die Systemfarben ausgegeben werden können. | ||
− | + | Wenn hier statt dem Java-LookAndFeel das [[LookAndFeel des Betriebssystems setzen|System-LookAndFeel]] gesetzt wird, werden von der Applikation die System-Farben entsprechend dem Host-System ausgegeben. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | =Swing Komponenten= | + | =Standard-Einstellungen von Swing Komponenten= |
==JButton== | ==JButton== | ||
Zeile 190: | Zeile 302: | ||
==FileView== | ==FileView== | ||
− | FileView.computerIcon | + | FileView.computerIcon =javax.swing.plaf.metal.MetalIconFactory$TreeComputerIcon@50a5d9 |
− | FileView.directoryIcon | + | FileView.directoryIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon@62dae9 |
− | FileView.fileIcon | + | FileView.fileIcon =javax.swing.plaf.metal.MetalIconFactory$TreeLeafIcon@4cce3c |
− | FileView.floppyDriveIcon | + | FileView.floppyDriveIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFloppyDriveIcon@15c083 |
− | FileView.hardDriveIcon | + | FileView.hardDriveIcon =javax.swing.plaf.metal.MetalIconFactory$TreeHardDriveIcon@3a317a |
==DefaultFocusManager== | ==DefaultFocusManager== | ||
Zeile 204: | Zeile 316: | ||
==JInternalFrame== | ==JInternalFrame== | ||
− | InternalFrame.activeTitleBackground | + | InternalFrame.activeTitleBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] |
− | InternalFrame.activeTitleForeground | + | InternalFrame.activeTitleForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
− | InternalFrame.border | + | InternalFrame.border =javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@59dc39 |
− | InternalFrame.closeIcon | + | InternalFrame.closeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameCloseIcon@2d9c06 |
− | InternalFrame.font | + | InternalFrame.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] |
− | InternalFrame.icon | + | InternalFrame.icon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameDefaultMenuIcon@105738 |
− | InternalFrame.iconifyIcon | + | InternalFrame.iconifyIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameMinimizeIcon@79f9d8 |
− | InternalFrame.inactiveTitleBackground | + | InternalFrame.inactiveTitleBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] |
− | InternalFrame.inactiveTitleForeground | + | InternalFrame.inactiveTitleForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
− | InternalFrame.maximizeIcon | + | InternalFrame.maximizeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameMaximizeIcon@2b6651 |
− | InternalFrame.minimizeIcon | + | InternalFrame.minimizeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameAltMaximizeIcon@504653 |
− | InternalFrame.optionDialogBorder | + | InternalFrame.optionDialogBorder =javax.swing.plaf.metal.MetalBorders$OptionDialogBorder@34bb5 |
− | InternalFrame.paletteBorder | + | InternalFrame.paletteBorder =javax.swing.plaf.metal.MetalBorders$PaletteBorder@22c95b |
− | InternalFrame.paletteCloseIcon | + | InternalFrame.paletteCloseIcon =javax.swing.plaf.metal.MetalIconFactory$PaletteCloseIcon@195d80 |
− | InternalFrame.paletteTitleHeight | + | InternalFrame.paletteTitleHeight =11 |
− | InternalFrame.titleFont | + | InternalFrame.titleFont =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] |
− | InternalFrame.windowBindings | + | InternalFrame.windowBindings =[Ljava.lang.Object;@64f6cd |
− | InternalFrameUI | + | InternalFrameUI =javax.swing.plaf.metal.MetalInternalFrameUI |
==JLabel== | ==JLabel== | ||
− | Label.background | + | Label.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] |
− | Label.disabledForeground | + | Label.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] |
− | Label.disabledShadow | + | Label.disabledShadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] |
− | Label.font | + | Label.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] |
− | Label.foreground | + | Label.foreground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] |
− | LabelUI | + | LabelUI =javax.swing.plaf.metal.MetalLabelUI |
==JList== | ==JList== | ||
Zeile 245: | Zeile 357: | ||
==JMenu== | ==JMenu== | ||
− | Menu.acceleratorFont | + | Menu.acceleratorFont =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=10] |
− | Menu.acceleratorForeground | + | Menu.acceleratorForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] |
− | Menu.acceleratorSelectionForeground | + | Menu.acceleratorSelectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
− | Menu.arrowIcon | + | Menu.arrowIcon =javax.swing.plaf.metal.MetalIconFactory$MenuArrowIcon@5c8569 |
− | Menu.background | + | Menu.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] |
− | Menu.border | + | Menu.border =javax.swing.plaf.metal.MetalBorders$MenuItemBorder@65e2c3 |
− | Menu.borderPainted | + | Menu.borderPainted =true |
− | Menu.checkIcon | + | Menu.checkIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemCheckIcon@32e13d |
− | Menu.consumesTabs | + | Menu.consumesTabs =true |
− | Menu.disabledForeground | + | Menu.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] |
− | Menu.font | + | Menu.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] |
− | Menu.foreground | + | Menu.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
− | Menu.margin | + | Menu.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] |
− | Menu.selectedWindowInputMapBindings | + | Menu.selectedWindowInputMapBindings =[Ljava.lang.Object;@6df84b |
− | Menu.selectionBackground | + | Menu.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] |
− | Menu.selectionForeground | + | Menu.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
==JMenuBar== | ==JMenuBar== | ||
Zeile 376: | Zeile 488: | ||
RadioButtonMenuItem.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | RadioButtonMenuItem.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | ||
RadioButtonMenuItem.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] | RadioButtonMenuItem.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] | ||
− | RadioButtonMenuItem.selectionBackground | + | RadioButtonMenuItem.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] |
− | RadioButtonMenuItem.selectionForeground | + | RadioButtonMenuItem.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] |
− | RadioButtonMenuItemUI | + | RadioButtonMenuItemUI =javax.swing.plaf.basic.BasicRadioButtonMenuItemUI |
− | RadioButtonUI | + | RadioButtonUI =javax.swing.plaf.metal.MetalRadioButtonUI |
==JRootPane== | ==JRootPane== | ||
Zeile 433: | Zeile 545: | ||
Slider.verticalThumbIcon =javax.swing.plaf.metal.MetalIconFactory$VerticalSliderThumbIcon@2786c3 | Slider.verticalThumbIcon =javax.swing.plaf.metal.MetalIconFactory$VerticalSliderThumbIcon@2786c3 | ||
SliderUI =javax.swing.plaf.metal.MetalSliderUI | SliderUI =javax.swing.plaf.metal.MetalSliderUI | ||
+ | |||
+ | ==JSpinner== | ||
+ | Spinner.ancestorInputMap = javax.swing.UIDefaults$LazyInputMap | ||
+ | Spinner.arrowButtonBorder = javax.swing.plaf.metal.MetalLookAndFeel$$Lambda$250/1900172181 | ||
+ | Spinner.arrowButtonInsets = javax.swing.plaf.InsetsUIResource | ||
+ | Spinner.arrowButtonSize = java.awt.Dimension | ||
+ | Spinner.background = javax.swing.plaf.ColorUIResource | ||
+ | Spinner.border = javax.swing.plaf.metal.MetalLookAndFeel$$Lambda$246/1358949391 | ||
+ | Spinner.editorAlignment = java.lang.Integer | ||
+ | Spinner.editorBorderPainted = java.lang.Boolean | ||
+ | Spinner.font = javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue | ||
+ | Spinner.foreground = javax.swing.plaf.ColorUIResource | ||
+ | SpinnerUI = java.lang.String | ||
==JSplitPane== | ==JSplitPane== | ||
Zeile 609: | Zeile 734: | ||
ViewportUI =javax.swing.plaf.basic.BasicViewportUI | ViewportUI =javax.swing.plaf.basic.BasicViewportUI | ||
− | [[ | + | =Ähnliche Artikel= |
+ | *[[Farbe eines JPanels zurücksetzen]] | ||
+ | |||
[[Kategorie:Swing]] | [[Kategorie:Swing]] |
Aktuelle Version vom 3. Februar 2024, 12:00 Uhr
Inhaltsverzeichnis
- 1 Einführung
- 2 Beispiele zum Setzen von Standardwerten
- 3 Farbschema
- 4 Standard-Einstellungen von Swing Komponenten
- 4.1 JButton
- 4.2 JCheckBox
- 4.3 JCheckBoxMenuItem
- 4.4 JColorChooser
- 4.5 JComboBox
- 4.6 JDesktopPane
- 4.7 JEditorPane
- 4.8 JFileChooser
- 4.9 FileView
- 4.10 DefaultFocusManager
- 4.11 FormView
- 4.12 JInternalFrame
- 4.13 JLabel
- 4.14 JList
- 4.15 JMenu
- 4.16 JMenuBar
- 4.17 JMenuItem
- 4.18 JOptionPane
- 4.19 JPanel
- 4.20 JPasswordField
- 4.21 JPopupMenu
- 4.22 JProgressBar
- 4.23 JRadioButton
- 4.24 JRootPane
- 4.25 JScrollBar
- 4.26 JScrollPane
- 4.27 JSeparator
- 4.28 JSlider
- 4.29 JSpinner
- 4.30 JSplitPane
- 4.31 JTabbedPane
- 4.32 JTable
- 4.33 JTableHeader
- 4.34 JTextArea
- 4.35 JTextField
- 4.36 JTextPane
- 4.37 TitledBorder
- 4.38 JToggleButton
- 4.39 JToolBar
- 4.40 JToolTip
- 4.41 JTree
- 4.42 JViewport
- 5 Ähnliche Artikel
Einführung
Die Klasse UIDefaults
aus dem Paket javax.swing kapselt in einer Hashtable Standardeinstellungen wie Schriftart und Farbe von GUI-Komponenten.
Die Vererbungshierarchie:
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<Object,Object> javax.swing.UIDefaults
Mit Hilfe des UIManager
ist es möglich, Werte für Komponenten zu setzen oder zu verändern, so dass diese für alle GUI-Komponenten der laufenden Applikation gelten.
Im Folgenden werden die Schlüsselnamen und Standardwerte von Swing-Komponenten aufgeführt.
Beispiele zum Setzen von Standardwerten
Die Einstellungen an grafischen Komponenten sollten vor ihrer Darstellung auf dem Bildschirm gemacht werden, am besten also in der main()-Methode.
UIManager.put("TextField.background", new Color(255,0,0));
Damit erhalten alle in der Anwendung eingesetzten Objekte vom Typ JTextField
die eingestellte Hintergrundfarbe.
UIManager.put("SplitPane.border", BorderFactory.createEmptyBorder());
UIManager.put("SplitPaneDivider.border", BorderFactory.createEmptyBorder());
Damit werden die tiefen 3D-Rahmen einer JSplitPane
entfernt. Die JSplitpane sieht damit, ganz besonders unter Windows 7, 8, 10 und 11, etwas zeitgemäßer aus.
Farbschema
Die Farben der an der Darstellung der Benutzeroberfläche beteiligten Elemente sind je nach verwendetem LookAndFeel in Farbkonstanten gespeichert.
Farbname (java.awt.SystemColor) | Wert der Farbkonstante | Zugehörigkeit |
---|---|---|
activeCaption | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | Hintergrundfarbe für die Titelleiste von selektierten Fenstern |
activeCaptionBorder | =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] | Rahmenfarbe für die Titelleiste von selektierten Fenstern |
activeCaptionText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Schriftfarbe für die Titelleiste von selektierten Fenstern |
control | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | Hintergrundfarbe für Dialogelemente |
controlDkShadow | =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] | Dunklere Farbe für den Schatten von Dialogelementen |
controlHighlight | =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | Farbe für hervorgehobene Dialogelemente |
controlLtHighlight | =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | Helle Farbe für hervorgehobene Dialogelemente |
controlShadow | =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | Farbe für den Schatten von Dialogelementen |
controlText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Textfarbe für Dialogelemente |
desktop | =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] | Hintergrundfarbe des Desktops |
inactiveCaption | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | Hintergrundfarbe für die Titelleiste von nicht selektierten Fenstern |
inactiveCaptionBorder | =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | Rahmenfarbe für die Titelleiste von nicht selektierten Fenstern |
inactiveCaptionText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Schriftfarbe für die Titelleiste von nicht selektierten Fenstern |
info | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | Hintergrundfarbe für Hilfetext |
infoText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Textfarbe für Hilfetext |
menu | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | Hintergrundfarbe für Menüs |
menuText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Textfarbe für Menüs |
scrollbar | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | Hintergrundfarbe für Scrollleiste |
text | =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | Hintergrundfarbe für Textfelder |
textHighlight | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] | Hintergrundfarbe für hervorgehobenen Text |
textHighlightText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Textfarbe für hervorgehobenen Text |
textInactiveText | =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] | Textfarbe für inaktiven Text |
textText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Textfarbe für Textfelder |
window | =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] | Hintergrundfarbe für Fenster |
windowBorder | =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] | Farbe für Fensterrahmen |
windowText | =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] | Farbe für Text im Fenster |
Im Artikel Systemfarben in JTable ausgeben haben wir ein kleines Java-Programm bereit gestellt, mit dem die Systemfarben ausgegeben werden können.
Wenn hier statt dem Java-LookAndFeel das System-LookAndFeel gesetzt wird, werden von der Applikation die System-Farben entsprechend dem Host-System ausgegeben.
Standard-Einstellungen von Swing Komponenten
JButton
Button.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Button.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@72380 Button.disabledText =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Button.focus =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] Button.focusInputMap =javax.swing.plaf.InputMapUIResource@1319c Button.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] Button.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Button.margin =javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14] Button.select =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Button.textIconGap =4 Button.textShiftOffset =0 ButtonUI =javax.swing.plaf.metal.MetalButtonUI
JCheckBox
CheckBox.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] CheckBox.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@5d20f6 CheckBox.disabledText =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] CheckBox.focus =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] CheckBox.focusInputMap =javax.swing.plaf.InputMapUIResource@6768e CheckBox.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] CheckBox.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] CheckBox.icon =javax.swing.plaf.metal.MetalIconFactory$CheckBoxIcon@122221 CheckBox.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] Checkbox.select =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] CheckBox.textIconGap =4 CheckBox.textShiftOffset =0
JCheckBoxMenuItem
CheckBoxMenuItem.acceleratorFont =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=10] CheckBoxMenuItem.acceleratorForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] CheckBoxMenuItem.acceleratorSelectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] CheckBoxMenuItem.arrowIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemArrowIcon@7ae3c6 CheckBoxMenuItem.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] CheckBoxMenuItem.border =javax.swing.plaf.metal.MetalBorders$MenuItemBorder@6152c5 CheckBoxMenuItem.borderPainted =true CheckBoxMenuItem.checkIcon =javax.swing.plaf.metal.MetalIconFactory$CheckBoxMenuItemIcon@1adc30 CheckBoxMenuItem.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] CheckBoxMenuItem.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] CheckBoxMenuItem.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] CheckBoxMenuItem.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] CheckBoxMenuItem.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] CheckBoxMenuItem.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] CheckBoxMenuItemUI =javax.swing.plaf.basic.BasicCheckBoxMenuItemUI CheckBoxUI =javax.swing.plaf.metal.MetalCheckBoxUI
JColorChooser
ColorChooser.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ColorChooser.cancelText =Cancel ColorChooser.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] ColorChooser.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ColorChooser.hsbBlueText =B ColorChooser.hsbBrightnessText =B ColorChooser.hsbGreenText =G ColorChooser.hsbHueText =H ColorChooser.hsbNameText =HSB ColorChooser.hsbRedText =R ColorChooser.hsbSaturationText =S ColorChooser.okText =OK ColorChooser.previewText =Preview ColorChooser.resetText =Reset ColorChooser.rgbBlueMnemonic =66 ColorChooser.rgbBlueText =Blue ColorChooser.rgbGreenMnemonic =71 ColorChooser.rgbGreenText =Green ColorChooser.rgbNameText =RGB ColorChooser.rgbRedMnemonic =82 ColorChooser.rgbRedText =Red ColorChooser.sampleText =Sample Text Sample Text ColorChooser.swatchesDefaultRecentColor =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ColorChooser.swatchesNameText =Swatches ColorChooser.swatchesRecentSwatchSize =java.awt.Dimension[width=10,height=10] ColorChooser.swatchesRecentText =Recent: ColorChooser.swatchesSwatchSize =java.awt.Dimension[width=10,height=10] ColorChooserUI =javax.swing.plaf.basic.BasicColorChooserUI
JComboBox
ComboBox.ancestorInputMap =javax.swing.plaf.InputMapUIResource@21c887 ComboBox.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ComboBox.disabledBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ComboBox.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ComboBox.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] ComboBox.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ComboBox.listBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ComboBox.listForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ComboBox.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] ComboBox.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ComboBoxUI =javax.swing.plaf.metal.MetalComboBoxUI
JDesktopPane
Desktop.ancestorInputMap =javax.swing.plaf.InputMapUIResource@422ede Desktop.background =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] DesktopIcon.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] DesktopIcon.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@389838 DesktopIcon.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] DesktopIcon.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] DesktopIconUI =javax.swing.plaf.metal.MetalDesktopIconUI DesktopPaneUI =javax.swing.plaf.basic.BasicDesktopPaneUI
JEditorPane
EditorPane.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] EditorPane.border =javax.swing.plaf.basic.BasicBorders$MarginBorder@5b0afd EditorPane.caretBlinkRate =500 EditorPane.caretForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] EditorPane.focusInputMap =javax.swing.plaf.InputMapUIResource@66a22b EditorPane.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] EditorPane.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] EditorPane.inactiveForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] EditorPane.keyBindings =[Ljavax.swing.text.JTextComponent$KeyBinding;@26b249 EditorPane.margin =javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3] EditorPane.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] EditorPane.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] EditorPaneUI =javax.swing.plaf.basic.BasicEditorPaneUI
JFileChooser
FileChooser.acceptAllFileFilterText =All Files (*.*) FileChooser.ancestorInputMap =javax.swing.plaf.InputMapUIResource@49b9ca FileChooser.cancelButtonMnemonic =67 FileChooser.cancelButtonText =Cancel FileChooser.cancelButtonToolTipText =Abort file chooser dialog FileChooser.detailsViewButtonAccessibleName =Details FileChooser.detailsViewButtonToolTipText =Details FileChooser.detailsViewIcon =javax.swing.plaf.metal.MetalIconFactory$FileChooserDetailViewIcon@1edf4 FileChooser.directoryDescriptionText =Directory FileChooser.fileDescriptionText =Generic File FileChooser.fileNameLabelMnemonic =78 FileChooser.fileNameLabelText =File name: FileChooser.filesOfTypeLabelMnemonic =84 FileChooser.filesOfTypeLabelText =Files of type: FileChooser.helpButtonMnemonic =72 FileChooser.helpButtonText =Help FileChooser.helpButtonToolTipText =FileChooser help FileChooser.homeFolderAccessibleName =Home FileChooser.homeFolderIcon =javax.swing.plaf.metal.MetalIconFactory$FileChooserHomeFolderIcon@246701 FileChooser.homeFolderToolTipText =Home FileChooser.listViewButtonAccessibleName =List FileChooser.listViewButtonToolTipText =List FileChooser.listViewIcon =javax.swing.plaf.metal.MetalIconFactory$FileChooserListViewIcon@18f375 FileChooser.lookInLabelMnemonic =73 FileChooser.lookInLabelText =Look in: FileChooser.newFolderAccessibleNam =New Folder FileChooser.newFolderErrorSeparator =: FileChooser.newFolderErrorText =Error creating new folder FileChooser.newFolderIcon =javax.swing.plaf.metal.MetalIconFactory$FileChooserNewFolderIcon@39240e FileChooser.newFolderToolTipText =Create New Folder FileChooser.openButtonMnemonic =79 FileChooser.openButtonText =Open FileChooser.openButtonToolTipText =Open selected file FileChooser.saveButtonMnemonic =83 FileChooser.saveButtonText =Save FileChooser.saveButtonToolTipText =Save selected file FileChooser.updateButtonMnemonic =85 FileChooser.updateButtonText =Update FileChooser.updateButtonToolTipText =Update directory listing FileChooser.upFolderAccessibleName =Up FileChooser.upFolderIcon =javax.swing.plaf.metal.MetalIconFactory$FileChooserUpFolderIcon@733675 FileChooser.upFolderToolTipText =Up One Level FileChooserUI =javax.swing.plaf.metal.MetalFileChooserUI
FileView
FileView.computerIcon =javax.swing.plaf.metal.MetalIconFactory$TreeComputerIcon@50a5d9 FileView.directoryIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon@62dae9 FileView.fileIcon =javax.swing.plaf.metal.MetalIconFactory$TreeLeafIcon@4cce3c FileView.floppyDriveIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFloppyDriveIcon@15c083 FileView.hardDriveIcon =javax.swing.plaf.metal.MetalIconFactory$TreeHardDriveIcon@3a317a
DefaultFocusManager
FocusManagerClassName =javax.swing.DefaultFocusManager
FormView
FormView.resetButtonText =Reset FormView.submitButtonText =Submit Query
JInternalFrame
InternalFrame.activeTitleBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] InternalFrame.activeTitleForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] InternalFrame.border =javax.swing.plaf.metal.MetalBorders$InternalFrameBorder@59dc39 InternalFrame.closeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameCloseIcon@2d9c06 InternalFrame.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] InternalFrame.icon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameDefaultMenuIcon@105738 InternalFrame.iconifyIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameMinimizeIcon@79f9d8 InternalFrame.inactiveTitleBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] InternalFrame.inactiveTitleForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] InternalFrame.maximizeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameMaximizeIcon@2b6651 InternalFrame.minimizeIcon =javax.swing.plaf.metal.MetalIconFactory$InternalFrameAltMaximizeIcon@504653 InternalFrame.optionDialogBorder =javax.swing.plaf.metal.MetalBorders$OptionDialogBorder@34bb5 InternalFrame.paletteBorder =javax.swing.plaf.metal.MetalBorders$PaletteBorder@22c95b InternalFrame.paletteCloseIcon =javax.swing.plaf.metal.MetalIconFactory$PaletteCloseIcon@195d80 InternalFrame.paletteTitleHeight =11 InternalFrame.titleFont =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] InternalFrame.windowBindings =[Ljava.lang.Object;@64f6cd InternalFrameUI =javax.swing.plaf.metal.MetalInternalFrameUI
JLabel
Label.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Label.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Label.disabledShadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Label.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] Label.foreground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] LabelUI =javax.swing.plaf.metal.MetalLabelUI
JList
List.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] List.cellRenderer =javax.swing.DefaultListCellRenderer$UIResource[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=null,border=javax.swing.border.EmptyBorder@121f1d, flags=32,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=,horizontalTextPosition=,iconTextGap=4, labelFor=,text=,verticalAlignment=CENTER,verticalTextPosition=CENTER] List.focusCellHighlightBorder =javax.swing.plaf.BorderUIResource$LineBorderUIResource@5f5897 List.focusInputMap =javax.swing.plaf.InputMapUIResource@814e9 List.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] List.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] List.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] List.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ListUI =javax.swing.plaf.basic.BasicListUI
JMenu
Menu.acceleratorFont =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=10] Menu.acceleratorForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] Menu.acceleratorSelectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Menu.arrowIcon =javax.swing.plaf.metal.MetalIconFactory$MenuArrowIcon@5c8569 Menu.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Menu.border =javax.swing.plaf.metal.MetalBorders$MenuItemBorder@65e2c3 Menu.borderPainted =true Menu.checkIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemCheckIcon@32e13d Menu.consumesTabs =true Menu.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Menu.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] Menu.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Menu.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] Menu.selectedWindowInputMapBindings =[Ljava.lang.Object;@6df84b Menu.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] Menu.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
JMenuBar
MenuBar.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] MenuBar.border =javax.swing.plaf.metal.MetalBorders$MenuBarBorder@3383e9 MenuBar.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] MenuBar.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] MenuBar.windowBindings =[Ljava.lang.Object;@68a1f6 MenuBarUI =javax.swing.plaf.basic.BasicMenuBarUI
JMenuItem
MenuItem.acceleratorDelimiter =- MenuItem.acceleratorFont =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=10] MenuItem.acceleratorForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] MenuItem.acceleratorSelectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] MenuItem.arrowIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemArrowIcon@7ae3c6 MenuItem.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] MenuItem.border =javax.swing.plaf.metal.MetalBorders$MenuItemBorder@23d4cf MenuItem.borderPainted =true MenuItem.checkIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemCheckIcon@32e13d MenuItem.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] MenuItem.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] MenuItem.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] MenuItem.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] MenuItem.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] MenuItem.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] MenuItemUI =javax.swing.plaf.basic.BasicMenuItemUI MenuUI =javax.swing.plaf.basic.BasicMenuUI
JOptionPane
OptionPane.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] OptionPane.border =javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@7d5d2a OptionPane.buttonAreaBorder =javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@7816d OptionPane.cancelButtonText =Cancel OptionPane.errorIcon =javax.swing.plaf.IconUIResource@2a5330 OptionPane.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] OptionPane.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] OptionPane.informationIcon =javax.swing.plaf.IconUIResource@2bb514 OptionPane.messageAreaBorder =javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@4832d2 OptionPane.messageForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] OptionPane.minimumSize =javax.swing.plaf.DimensionUIResource[width=262,height=90] OptionPane.noButtonText =No OptionPane.okButtonText =OK OptionPane.questionIcon =javax.swing.plaf.IconUIResource@54a328 OptionPane.warningIcon =javax.swing.plaf.IconUIResource@587c94 OptionPane.windowBindings =[Ljava.lang.Object;@1efb05 OptionPane.yesButtonText =Yes OptionPaneUI =javax.swing.plaf.basic.BasicOptionPaneUI
JPanel
Panel.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Panel.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] Panel.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] PanelUI =javax.swing.plaf.basic.BasicPanelUI
JPasswordField
PasswordField.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] PasswordField.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@4a8cd1 PasswordField.caretBlinkRate =500 PasswordField.caretForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] PasswordField.focusInputMap =javax.swing.plaf.InputMapUIResource@2d3ba4 PasswordField.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] PasswordField.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] PasswordField.inactiveForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] PasswordField.keyBindings =[Ljavax.swing.text.JTextComponent$KeyBinding;@7ffe01 PasswordField.margin =javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0] PasswordField.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] PasswordField.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] PasswordFieldUI =javax.swing.plaf.basic.BasicPasswordFieldUI
JPopupMenu
PopupMenu.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] PopupMenu.border =javax.swing.plaf.metal.MetalBorders$PopupMenuBorder@7b6889 PopupMenu.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] PopupMenu.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] PopupMenuSeparatorUI =javax.swing.plaf.metal.MetalPopupMenuSeparatorUI PopupMenuUI =javax.swing.plaf.basic.BasicPopupMenuUI
JProgressBar
ProgressBar.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ProgressBar.backgroundHighlight =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ProgressBar.border =javax.swing.plaf.BorderUIResource$LineBorderUIResource@7ee8b8 ProgressBar.cellLength =1 ProgressBar.cellSpacing =0 ProgressBar.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] ProgressBar.foreground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] ProgressBar.foregroundHighlight =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] ProgressBar.selectionBackground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] ProgressBar.selectionForeground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ProgressBarUI =javax.swing.plaf.metal.MetalProgressBarUI
JRadioButton
RadioButton.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] RadioButton.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1503a3 RadioButton.disabledText =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] RadioButton.focus =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] RadioButton.focusInputMap =javax.swing.plaf.InputMapUIResource@4fb549 RadioButton.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] RadioButton.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] RadioButton.icon =javax.swing.plaf.metal.MetalIconFactory$RadioButtonIcon@26804e RadioButton.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] RadioButton.select =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] RadioButton.textIconGap =4 RadioButton.textShiftOffset =0 RadioButtonMenuItem.acceleratorFont =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=10] RadioButtonMenuItem.acceleratorForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] RadioButtonMenuItem.acceleratorSelectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] RadioButtonMenuItem.arrowIcon =javax.swing.plaf.metal.MetalIconFactory$MenuItemArrowIcon@7ae3c6 RadioButtonMenuItem.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] RadioButtonMenuItem.border =javax.swing.plaf.metal.MetalBorders$MenuItemBorder@361fd1 RadioButtonMenuItem.borderPainted =true RadioButtonMenuItem.checkIcon =javax.swing.plaf.metal.MetalIconFactory$RadioButtonMenuItemIcon@2d77a7 RadioButtonMenuItem.disabledForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] RadioButtonMenuItem.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] RadioButtonMenuItem.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] RadioButtonMenuItem.margin =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=2] RadioButtonMenuItem.selectionBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] RadioButtonMenuItem.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] RadioButtonMenuItemUI =javax.swing.plaf.basic.BasicRadioButtonMenuItemUI RadioButtonUI =javax.swing.plaf.metal.MetalRadioButtonUI
JRootPane
RootPane.defaultButtonWindowKeyBindings =[Ljava.lang.Object;@c2ff5 RootPaneUI =javax.swing.plaf.basic.BasicRootPaneUI
JScrollBar
ScrollBar.allowsAbsolutePositioning =true ScrollBar.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ScrollBar.darkShadow =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] ScrollBar.focusInputMap =javax.swing.plaf.InputMapUIResource@6025e7 ScrollBar.foreground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ScrollBar.highlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] ScrollBar.maximumThumbSize =javax.swing.plaf.DimensionUIResource[width=4096,height=4096] ScrollBar.minimumThumbSize =javax.swing.plaf.DimensionUIResource[width=8,height=8] ScrollBar.shadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ScrollBar.thumb =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] ScrollBar.thumbDarkShadow =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] ScrollBar.thumbHighlight =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] ScrollBar.thumbLightShadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ScrollBar.thumbShadow =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] ScrollBar.track =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ScrollBar.trackHighlight =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] ScrollBar.width =17 ScrollBarUI =javax.swing.plaf.metal.MetalScrollBarUI
JScrollPane
ScrollPane.ancestorInputMap =javax.swing.plaf.InputMapUIResource@2a1e44 ScrollPane.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ScrollPane.border =javax.swing.plaf.metal.MetalBorders$ScrollPaneBorder@617189 ScrollPane.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] ScrollPane.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ScrollPaneUI =javax.swing.plaf.metal.MetalScrollPaneUI
JSeparator
Separator.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Separator.foreground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] Separator.highlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Separator.shadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] SeparatorUI =javax.swing.plaf.metal.MetalSeparatorUI
JSlider
Slider.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Slider.focus =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] Slider.focusInputMap =javax.swing.plaf.InputMapUIResource@743399 Slider.focusInsets =javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0] Slider.foreground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] Slider.highlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Slider.horizontalThumbIcon =javax.swing.plaf.metal.MetalIconFactory$HorizontalSliderThumbIcon@3a6c83 Slider.majorTickLength =6 Slider.shadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Slider.trackWidth =7 Slider.verticalThumbIcon =javax.swing.plaf.metal.MetalIconFactory$VerticalSliderThumbIcon@2786c3 SliderUI =javax.swing.plaf.metal.MetalSliderUI
JSpinner
Spinner.ancestorInputMap = javax.swing.UIDefaults$LazyInputMap Spinner.arrowButtonBorder = javax.swing.plaf.metal.MetalLookAndFeel$$Lambda$250/1900172181 Spinner.arrowButtonInsets = javax.swing.plaf.InsetsUIResource Spinner.arrowButtonSize = java.awt.Dimension Spinner.background = javax.swing.plaf.ColorUIResource Spinner.border = javax.swing.plaf.metal.MetalLookAndFeel$$Lambda$246/1358949391 Spinner.editorAlignment = java.lang.Integer Spinner.editorBorderPainted = java.lang.Boolean Spinner.font = javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue Spinner.foreground = javax.swing.plaf.ColorUIResource SpinnerUI = java.lang.String
JSplitPane
SplitPane.ancestorInputMap =javax.swing.plaf.InputMapUIResource@4e5b1c SplitPane.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] SplitPane.border =javax.swing.plaf.basic.BasicBorders$SplitPaneBorder@2981ca SplitPane.dividerSize =10 SplitPane.highlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] SplitPane.shadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] SplitPaneDivider.border =javax.swing.plaf.basic.BasicBorders$SplitPaneDividerBorder@341960 SplitPaneUI =javax.swing.plaf.metal.MetalSplitPaneUI
JTabbedPane
TabbedPane.ancestorInputMap =javax.swing.plaf.InputMapUIResource@aaa1e TabbedPane.background =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] TabbedPane.contentBorderInsets =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=3,right=3] TabbedPane.darkShadow =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] TabbedPane.focus =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] TabbedPane.focusInputMap =javax.swing.plaf.InputMapUIResource@5b4f6f TabbedPane.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] TabbedPane.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TabbedPane.highlight =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] TabbedPane.lightHighlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] TabbedPane.selected =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] TabbedPane.selectedTabPadInsets =javax.swing.plaf.InsetsUIResource[top=2,left=2,bottom=2,right=1] TabbedPane.selectHighlight =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] TabbedPane.shadow =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] TabbedPane.tabAreaBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] TabbedPane.tabAreaInsets =javax.swing.plaf.InsetsUIResource[top=4,left=2,bottom=0,right=6] TabbedPane.tabInsets =javax.swing.plaf.InsetsUIResource[top=0,left=4,bottom=1,right=4] TabbedPane.tabRunOverlay =2 TabbedPane.textIconGap =4 TabbedPaneUI =javax.swing.plaf.metal.MetalTabbedPaneUI
JTable
Table.ancestorInputMap =javax.swing.plaf.InputMapUIResource@60b6f5 Table.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Table.focusCellBackground =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Table.focusCellForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Table.focusCellHighlightBorder =javax.swing.plaf.BorderUIResource$LineBorderUIResource@6e1408 Table.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] Table.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Table.gridColor =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] Table.scrollPaneBorder =javax.swing.plaf.metal.MetalBorders$ScrollPaneBorder@186fab Table.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] Table.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0]
JTableHeader
TableHeader.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] TableHeader.cellBorder =javax.swing.plaf.metal.MetalBorders$TableHeaderBorder@43c749 TableHeader.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] TableHeader.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TableHeaderUI =javax.swing.plaf.basic.BasicTableHeaderUI TableUI =javax.swing.plaf.basic.BasicTableUI
JTextArea
TextArea.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] TextArea.border =javax.swing.plaf.basic.BasicBorders$MarginBorder@55550d TextArea.caretBlinkRate =500 TextArea.caretForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextArea.focusInputMap =javax.swing.plaf.InputMapUIResource@3efab0 TextArea.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] TextArea.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextArea.inactiveForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] TextArea.keyBindings =[Ljavax.swing.text.JTextComponent$KeyBinding;@26b249 TextArea.margin =javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0] TextArea.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] TextArea.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextAreaUI =javax.swing.plaf.basic.BasicTextAreaUI
JTextField
TextField.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] TextField.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@551f60 TextField.caretBlinkRate =500 TextField.caretForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextField.focusInputMap =javax.swing.plaf.InputMapUIResource@77f540 TextField.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] TextField.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextField.inactiveForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] TextField.keyBindings =[Ljavax.swing.text.JTextComponent$KeyBinding;@7ffe01 TextField.margin =javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0] TextField.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] TextField.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextFieldUI =javax.swing.plaf.metal.MetalTextFieldUI
JTextPane
TextPane.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] TextPane.border =javax.swing.plaf.basic.BasicBorders$MarginBorder@762373 TextPane.caretBlinkRate =500 TextPane.caretForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextPane.focusInputMap =javax.swing.plaf.InputMapUIResource@44aad3 TextPane.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] TextPane.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextPane.inactiveForeground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] TextPane.keyBindings =[Ljavax.swing.text.JTextComponent$KeyBinding;@26b249 TextPane.margin =javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3] TextPane.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] TextPane.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TextPaneUI =javax.swing.plaf.basic.BasicTextPaneUI
TitledBorder
TitledBorder.border =javax.swing.plaf.BorderUIResource$LineBorderUIResource@482923 TitledBorder.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] TitledBorder.titleColor =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153]
JToggleButton
ToggleButton.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToggleButton.border =javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@71fba0 ToggleButton.disabledBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToggleButton.disabledSelectedBackground =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ToggleButton.disabledSelectedText =javax.swing.plaf.ColorUIResource[r=102,g=102,b=102] ToggleButton.disabledText =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ToggleButton.focus =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] ToggleButton.focusInputMap =javax.swing.plaf.InputMapUIResource@6e4648 ToggleButton.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] ToggleButton.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ToggleButton.margin =javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14] ToggleButton.select =javax.swing.plaf.ColorUIResource[r=153,g=153,b=153] ToggleButton.text =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToggleButton.textIconGap =4 ToggleButton.textShiftOffset =0 ToggleButtonUI =javax.swing.plaf.metal.MetalToggleButtonUI
JToolBar
ToolBar.ancestorInputMap =javax.swing.plaf.InputMapUIResource@655dd ToolBar.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToolBar.border =javax.swing.plaf.metal.MetalBorders$ToolBarBorder@f4fb3 ToolBar.dockingBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToolBar.dockingForeground =javax.swing.plaf.ColorUIResource[r=102,g=102,b=153] ToolBar.floatingBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] ToolBar.floatingForeground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] ToolBar.font =javax.swing.plaf.FontUIResource[family=dialog.bold,name=Dialog,style=bold,size=12] ToolBar.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ToolBar.separatorSize =javax.swing.plaf.DimensionUIResource[width=10,height=10] ToolBarSeparatorUI =javax.swing.plaf.basic.BasicToolBarSeparatorUI ToolBarUI =javax.swing.plaf.metal.MetalToolBarUI
JToolTip
ToolTip.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] ToolTip.border =javax.swing.plaf.BorderUIResource$LineBorderUIResource@42ea3f ToolTip.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] ToolTip.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ToolTipUI =javax.swing.plaf.metal.MetalToolTipUI
JTree
Tree.ancestorInputMap =javax.swing.plaf.InputMapUIResource@50bd4d Tree.background =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Tree.changeSelectionWithFocus =true Tree.closedIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon@6e293a Tree.collapsedIcon =javax.swing.plaf.metal.MetalIconFactory$TreeControlIcon@421495 Tree.drawsFocusBorderAroundIcon =false Tree.editorBorder =javax.swing.plaf.BorderUIResource$LineBorderUIResource@67d940 Tree.expandedIcon =javax.swing.plaf.metal.MetalIconFactory$TreeControlIcon@2d3205 Tree.focusInputMap =javax.swing.plaf.InputMapUIResource@6f5502 Tree.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] Tree.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Tree.hash =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] Tree.leafIcon =javax.swing.plaf.metal.MetalIconFactory$TreeLeafIcon@8199 Tree.leftChildIndent =7 Tree.line =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] Tree.openIcon =javax.swing.plaf.metal.MetalIconFactory$TreeFolderIcon@34bed0 Tree.rightChildIndent =13 Tree.rowHeight =0 Tree.scrollsOnExpand =true Tree.selectionBackground =javax.swing.plaf.ColorUIResource[r=204,g=204,b=255] Tree.selectionBorderColor =javax.swing.plaf.ColorUIResource[r=153,g=153,b=204] Tree.selectionForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] Tree.textBackground =javax.swing.plaf.ColorUIResource[r=255,g=255,b=255] Tree.textForeground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] TreeUI =javax.swing.plaf.metal.MetalTreeUI
JViewport
Viewport.background =javax.swing.plaf.ColorUIResource[r=204,g=204,b=204] Viewport.font =javax.swing.plaf.FontUIResource[family=dialog,name=Dialog,style=plain,size=12] Viewport.foreground =javax.swing.plaf.ColorUIResource[r=0,g=0,b=0] ViewportUI =javax.swing.plaf.basic.BasicViewportUI