- 浏览: 144834 次
- 性别:
- 来自: 福建 漳州
文章分类
最新评论
-
qq_25643251:
cjcandctr 写道我用javadoc时也是出错。发现确实 ...
javadoc生成文档时总是报java.lang.IllegalArgumentException错 -
cyf85235848:
很不专业嘛,最后 不是导出到 test.sql么 , 怎么是导 ...
mysql数据备份、恢复、SQL文件中导入 -
jjk_02027:
cell.setValue(a);
//a要是Double对象 ...
POI中使用HSSFDataFormat设置格式遇到的问题 -
bulktree:
大哥 你 好逗啊,那个控件没出现什么触发两次,这是很正常的,一 ...
JComboBox选项改变ItemStateChanged 触发两次 -
liuting:
好东西 初学者感谢楼主分享
UIManager可设置的各种属性
AbstractButton.clickText
AbstractDocument.additionText
AbstractDocument.deletionText
AbstractDocument.redoText
AbstractDocument.styleChangeText
AbstractDocument.undoText
AbstractUndoableEdit.redoText
AbstractUndoableEdit.undoText
Button.background
Button.border
Button.disabledText
Button.focus
Button.focusInputMap
Button.font
Button.foreground
Button.margin
Button.select
Button.textIconGap
Button.textShiftOffset
ButtonUI
CheckBox.background
CheckBox.border
CheckBox.disabledText
CheckBox.focus
CheckBox.focusInputMap
CheckBox.font
CheckBox.foreground
CheckBox.icon
CheckBox.margin
CheckBox.textIconGap
CheckBox.textShiftOffset
CheckBoxMenuItem.acceleratorFont
CheckBoxMenuItem.acceleratorForeground
CheckBoxMenuItem.acceleratorSelectionForeground
CheckBoxMenuItem.arrowIcon
CheckBoxMenuItem.background
CheckBoxMenuItem.border
CheckBoxMenuItem.borderPainted
CheckBoxMenuItem.checkIcon
CheckBoxMenuItem.disabledForeground
CheckBoxMenuItem.font
CheckBoxMenuItem.foreground
CheckBoxMenuItem.margin
CheckBoxMenuItem.selectionBackground
CheckBoxMenuItem.selectionForeground
CheckBoxMenuItemUI
CheckBoxUI
Checkbox.select
ColorChooser.background
ColorChooser.cancelText
ColorChooser.font
ColorChooser.foreground
ColorChooser.hsbBlueText
ColorChooser.hsbBrightnessText
ColorChooser.hsbGreenText
ColorChooser.hsbHueText
ColorChooser.hsbNameText
ColorChooser.hsbRedText
ColorChooser.hsbSaturationText
ColorChooser.okText
ColorChooser.previewText
ColorChooser.resetText
ColorChooser.rgbBlueMnemonic
ColorChooser.rgbBlueText
ColorChooser.rgbGreenMnemonic
ColorChooser.rgbGreenText
ColorChooser.rgbNameText
ColorChooser.rgbRedMnemonic
ColorChooser.rgbRedText
ColorChooser.sampleText
ColorChooser.swatchesDefaultRecentColor
ColorChooser.swatchesNameText
ColorChooser.swatchesRecentSwatchSize
ColorChooser.swatchesRecentText
ColorChooser.swatchesSwatchSize
ColorChooserUI
ComboBox.ancestorInputMap
ComboBox.background
ComboBox.disabledBackground
ComboBox.disabledForeground
ComboBox.font
ComboBox.foreground
ComboBox.listBackground
ComboBox.listForeground
ComboBox.selectionBackground
ComboBox.selectionForeground
ComboBox.togglePopupText
ComboBoxUI
Desktop.ancestorInputMap
Desktop.background
DesktopIcon.background
DesktopIcon.border
DesktopIcon.font
DesktopIcon.foreground
DesktopIconUI
DesktopPaneUI
EditorPane.background
EditorPane.border
EditorPane.caretBlinkRate
EditorPane.caretForeground
EditorPane.focusInputMap
EditorPane.font
EditorPane.foreground
EditorPane.inactiveForeground
EditorPane.keyBindings
EditorPane.margin
EditorPane.selectionBackground
EditorPane.selectionForeground
EditorPaneUI
FileChooser.acceptAllFileFilterText
FileChooser.ancestorInputMap
FileChooser.cancelButtonMnemonic
FileChooser.cancelButtonText
FileChooser.cancelButtonToolTipText
FileChooser.detailsViewButtonAccessibleName
FileChooser.detailsViewButtonToolTipText
FileChooser.detailsViewIcon
FileChooser.directoryDescriptionText
FileChooser.fileDescriptionText
FileChooser.fileNameLabelMnemonic
FileChooser.fileNameLabelText
FileChooser.filesOfTypeLabelMnemonic
FileChooser.filesOfTypeLabelText
FileChooser.helpButtonMnemonic
FileChooser.helpButtonText
FileChooser.helpButtonToolTipText
FileChooser.homeFolderAccessibleName
FileChooser.homeFolderIcon
FileChooser.homeFolderToolTipText
FileChooser.listViewButtonAccessibleName
FileChooser.listViewButtonToolTipText
FileChooser.listViewIcon
FileChooser.lookInLabelMnemonic
FileChooser.lookInLabelText
FileChooser.newFolderAccessibleName
FileChooser.newFolderErrorSeparator
FileChooser.newFolderErrorText
FileChooser.newFolderIcon
FileChooser.newFolderToolTipText
FileChooser.openButtonMnemonic
FileChooser.openButtonText
FileChooser.openButtonToolTipText
FileChooser.openDialogTitleText
FileChooser.other.newFolder
FileChooser.other.newFolder.subsequent
FileChooser.saveButtonMnemonic
FileChooser.saveButtonText
FileChooser.saveButtonToolTipText
FileChooser.saveDialogTitleText
FileChooser.upFolderAccessibleName
FileChooser.upFolderIcon
FileChooser.upFolderToolTipText
FileChooser.updateButtonMnemonic
FileChooser.updateButtonText
FileChooser.updateButtonToolTipText
FileChooser.win32.newFolder
FileChooser.win32.newFolder.subsequent
FileChooserUI
FileView.computerIcon
FileView.directoryIcon
FileView.fileIcon
FileView.floppyDriveIcon
FileView.hardDriveIcon
FocusManagerClassName
FormView.resetButtonText
FormView.submitButtonText
InternalFrame.activeTitleBackground
InternalFrame.activeTitleForeground
InternalFrame.border
InternalFrame.closeIcon
InternalFrame.font
InternalFrame.icon
InternalFrame.iconifyIcon
InternalFrame.inactiveTitleBackground
InternalFrame.inactiveTitleForeground
InternalFrame.maximizeIcon
InternalFrame.minimizeIcon
InternalFrame.optionDialogBorder
InternalFrame.paletteBorder
InternalFrame.paletteCloseIcon
InternalFrame.paletteTitleHeight
InternalFrame.titleFont
InternalFrame.windowBindings
InternalFrameTitlePane.closeButtonAccessibleName
InternalFrameTitlePane.closeButtonText
InternalFrameTitlePane.iconifyButtonAccessibleName
InternalFrameTitlePane.maximizeButtonAccessibleName
InternalFrameTitlePane.maximizeButtonText
InternalFrameTitlePane.minimizeButtonText
InternalFrameTitlePane.moveButtonText
InternalFrameTitlePane.restoreButtonText
InternalFrameTitlePane.sizeButtonText
InternalFrameUI
Label.background
Label.disabledForeground
Label.disabledShadow
Label.font
Label.foreground
LabelUI
List.background
List.cellRenderer
List.focusCellHighlightBorder
List.focusInputMap
List.font
List.foreground
List.selectionBackground
List.selectionForeground
ListUI
Menu.acceleratorFont
Menu.acceleratorForeground
Menu.acceleratorSelectionForeground
Menu.arrowIcon
Menu.background
Menu.border
Menu.borderPainted
Menu.checkIcon
Menu.consumesTabs
Menu.disabledForeground
Menu.font
Menu.foreground
Menu.margin
Menu.selectedWindowInputMapBindings
Menu.selectionBackground
Menu.selectionForeground
MenuBar.background
MenuBar.border
MenuBar.font
MenuBar.foreground
MenuBar.windowBindings
MenuBarUI
MenuItem.acceleratorDelimiter
MenuItem.acceleratorFont
MenuItem.acceleratorForeground
MenuItem.acceleratorSelectionForeground
MenuItem.arrowIcon
MenuItem.background
MenuItem.border
MenuItem.borderPainted
MenuItem.checkIcon
MenuItem.disabledForeground
MenuItem.font
MenuItem.foreground
MenuItem.margin
MenuItem.selectionBackground
MenuItem.selectionForeground
MenuItemUI
MenuUI
OptionPane.background
OptionPane.border
OptionPane.buttonAreaBorder
OptionPane.cancelButtonText
OptionPane.errorIcon
OptionPane.font
OptionPane.foreground
OptionPane.informationIcon
OptionPane.messageAreaBorder
OptionPane.messageForeground
OptionPane.minimumSize
OptionPane.noButtonText
OptionPane.okButtonText
OptionPane.questionIcon
OptionPane.titleText
OptionPane.warningIcon
OptionPane.windowBindings
OptionPane.yesButtonText
OptionPaneUI
Panel.background
Panel.font
Panel.foreground
PanelUI
PasswordField.background
PasswordField.border
PasswordField.caretBlinkRate
PasswordField.caretForeground
PasswordField.focusInputMap
PasswordField.font
PasswordField.foreground
PasswordField.inactiveForeground
PasswordField.keyBindings
PasswordField.margin
PasswordField.selectionBackground
PasswordField.selectionForeground
PasswordFieldUI
PopupMenu.background
PopupMenu.border
PopupMenu.font
PopupMenu.foreground
PopupMenu.selectedWindowInputMapBindings
PopupMenuSeparatorUI
PopupMenuUI
ProgressBar.background
ProgressBar.backgroundHighlight
ProgressBar.cellLength
ProgressBar.cellSpacing
ProgressBar.font
ProgressBar.foreground
ProgressBar.foregroundHighlight
ProgressBar.selectionBackground
ProgressBar.selectionForeground
ProgressBarUI
ProgressMonitor.progressText
RadioButton.background
RadioButton.border
RadioButton.disabledText
RadioButton.focus
RadioButton.focusInputMap
RadioButton.font
RadioButton.foreground
RadioButton.icon
RadioButton.margin
RadioButton.select
RadioButton.textIconGap
RadioButton.textShiftOffset
RadioButtonMenuItem.acceleratorFont
RadioButtonMenuItem.acceleratorForeground
RadioButtonMenuItem.acceleratorSelectionForeground
RadioButtonMenuItem.arrowIcon
RadioButtonMenuItem.background
RadioButtonMenuItem.border
RadioButtonMenuItem.borderPainted
RadioButtonMenuItem.checkIcon
RadioButtonMenuItem.disabledForeground
RadioButtonMenuItem.font
RadioButtonMenuItem.foreground
RadioButtonMenuItem.margin
RadioButtonMenuItem.selectionBackground
RadioButtonMenuItem.selectionForeground
RadioButtonMenuItemUI
RadioButtonUI
RootPane.defaultButtonWindowKeyBindings
RootPaneUI
ScrollBar.allowsAbsolutePositioning
ScrollBar.background
ScrollBar.darkShadow
ScrollBar.focusInputMap
ScrollBar.foreground
ScrollBar.highlight
ScrollBar.maximumThumbSize
ScrollBar.minimumThumbSize
ScrollBar.shadow
ScrollBar.thumb
ScrollBar.thumbDarkShadow
ScrollBar.thumbHighlight
ScrollBar.thumbLightShadow
ScrollBar.thumbShadow
ScrollBar.track
ScrollBar.trackHighlight
ScrollBar.width
ScrollBarUI
ScrollPane.ancestorInputMap
ScrollPane.background
ScrollPane.border
ScrollPane.font
ScrollPane.foreground
ScrollPaneUI
Separator.background
Separator.foreground
Separator.highlight
Separator.shadow
SeparatorUI
Slider.background
Slider.focus
Slider.focusInputMap
Slider.focusInsets
Slider.foreground
Slider.highlight
Slider.horizontalThumbIcon
Slider.majorTickLength
Slider.shadow
Slider.trackWidth
Slider.verticalThumbIcon
SliderUI
SplitPane.ancestorInputMap
SplitPane.background
SplitPane.border
SplitPane.dividerSize
SplitPane.highlight
SplitPane.leftButtonText
SplitPane.rightButtonText
SplitPane.shadow
SplitPaneDivider.border
SplitPaneUI
StandardDialogUI
TabbedPane.ancestorInputMap
TabbedPane.background
TabbedPane.contentBorderInsets
TabbedPane.darkShadow
TabbedPane.focus
TabbedPane.focusInputMap
TabbedPane.font
TabbedPane.foreground
TabbedPane.highlight
TabbedPane.lightHighlight
TabbedPane.selectHighlight
TabbedPane.selected
TabbedPane.selectedTabPadInsets
TabbedPane.shadow
TabbedPane.tabAreaBackground
TabbedPane.tabAreaInsets
TabbedPane.tabInsets
TabbedPane.tabRunOverlay
TabbedPane.textIconGap
TabbedPaneUI
Table.ancestorInputMap
Table.background
Table.focusCellBackground
Table.focusCellForeground
Table.focusCellHighlightBorder
Table.font
Table.foreground
Table.gridColor
Table.scrollPaneBorder
Table.selectionBackground
Table.selectionForeground
TableHeader.background
TableHeader.cellBorder
TableHeader.font
TableHeader.foreground
TableHeaderUI
TableUI
TextArea.background
TextArea.border
TextArea.caretBlinkRate
TextArea.caretForeground
TextArea.focusInputMap
TextArea.font
TextArea.foreground
TextArea.inactiveForeground
TextArea.keyBindings
TextArea.margin
TextArea.selectionBackground
TextArea.selectionForeground
TextAreaUI
TextField.background
TextField.border
TextField.caretBlinkRate
TextField.caretForeground
TextField.focusInputMap
TextField.font
TextField.foreground
TextField.inactiveForeground
TextField.keyBindings
TextField.margin
TextField.selectionBackground
TextField.selectionForeground
TextFieldUI
TextPane.background
TextPane.border
TextPane.caretBlinkRate
TextPane.caretForeground
TextPane.focusInputMap
TextPane.font
TextPane.foreground
TextPane.inactiveForeground
TextPane.keyBindings
TextPane.margin
TextPane.selectionBackground
TextPane.selectionForeground
TextPaneUI
TitledBorder.border
TitledBorder.font
TitledBorder.titleColor
ToggleButton.background
ToggleButton.border
ToggleButton.disabledBackground
ToggleButton.disabledSelectedBackground
ToggleButton.disabledSelectedText
ToggleButton.disabledText
ToggleButton.focus
ToggleButton.focusInputMap
ToggleButton.font
ToggleButton.foreground
ToggleButton.margin
ToggleButton.select
ToggleButton.text
ToggleButton.textIconGap
ToggleButton.textShiftOffset
ToggleButtonUI
ToolBar.ancestorInputMap
ToolBar.background
ToolBar.border
ToolBar.dockingBackground
ToolBar.dockingForeground
ToolBar.floatingBackground
ToolBar.floatingForeground
ToolBar.font
ToolBar.foreground
ToolBar.separatorSize
ToolBarSeparatorUI
ToolBarUI
ToolTip.background
ToolTip.border
ToolTip.font
ToolTip.foreground
ToolTipUI
Tree.ancestorInputMap
Tree.background
Tree.changeSelectionWithFocus
Tree.closedIcon
Tree.collapsedIcon
Tree.drawsFocusBorderAroundIcon
Tree.editorBorder
Tree.expandedIcon
Tree.focusInputMap
Tree.font
Tree.foreground
Tree.hash
Tree.leafIcon
Tree.leftChildIndent
Tree.line
Tree.openIcon
Tree.rightChildIndent
Tree.rowHeight
Tree.scrollsOnExpand
Tree.selectionBackground
Tree.selectionBorderColor
Tree.selectionForeground
Tree.textBackground
Tree.textForeground
TreeUI
Viewport.background
Viewport.font
Viewport.foreground
ViewportUI
activeCaption
activeCaptionBorder
activeCaptionText
control
controlDkShadow
controlHighlight
controlLtHighlight
controlShadow
controlText
desktop
inactiveCaption
inactiveCaptionBorder
inactiveCaptionText
info
infoText
menu
menuText
scrollbar
text
textHighlight
textHighlightText
textInactiveText
textText
window
windowBorder
windowText
另外要设置border的颜色可以通过TitledBorder.border属性实现.
AbstractDocument.additionText
AbstractDocument.deletionText
AbstractDocument.redoText
AbstractDocument.styleChangeText
AbstractDocument.undoText
AbstractUndoableEdit.redoText
AbstractUndoableEdit.undoText
Button.background
Button.border
Button.disabledText
Button.focus
Button.focusInputMap
Button.font
Button.foreground
Button.margin
Button.select
Button.textIconGap
Button.textShiftOffset
ButtonUI
CheckBox.background
CheckBox.border
CheckBox.disabledText
CheckBox.focus
CheckBox.focusInputMap
CheckBox.font
CheckBox.foreground
CheckBox.icon
CheckBox.margin
CheckBox.textIconGap
CheckBox.textShiftOffset
CheckBoxMenuItem.acceleratorFont
CheckBoxMenuItem.acceleratorForeground
CheckBoxMenuItem.acceleratorSelectionForeground
CheckBoxMenuItem.arrowIcon
CheckBoxMenuItem.background
CheckBoxMenuItem.border
CheckBoxMenuItem.borderPainted
CheckBoxMenuItem.checkIcon
CheckBoxMenuItem.disabledForeground
CheckBoxMenuItem.font
CheckBoxMenuItem.foreground
CheckBoxMenuItem.margin
CheckBoxMenuItem.selectionBackground
CheckBoxMenuItem.selectionForeground
CheckBoxMenuItemUI
CheckBoxUI
Checkbox.select
ColorChooser.background
ColorChooser.cancelText
ColorChooser.font
ColorChooser.foreground
ColorChooser.hsbBlueText
ColorChooser.hsbBrightnessText
ColorChooser.hsbGreenText
ColorChooser.hsbHueText
ColorChooser.hsbNameText
ColorChooser.hsbRedText
ColorChooser.hsbSaturationText
ColorChooser.okText
ColorChooser.previewText
ColorChooser.resetText
ColorChooser.rgbBlueMnemonic
ColorChooser.rgbBlueText
ColorChooser.rgbGreenMnemonic
ColorChooser.rgbGreenText
ColorChooser.rgbNameText
ColorChooser.rgbRedMnemonic
ColorChooser.rgbRedText
ColorChooser.sampleText
ColorChooser.swatchesDefaultRecentColor
ColorChooser.swatchesNameText
ColorChooser.swatchesRecentSwatchSize
ColorChooser.swatchesRecentText
ColorChooser.swatchesSwatchSize
ColorChooserUI
ComboBox.ancestorInputMap
ComboBox.background
ComboBox.disabledBackground
ComboBox.disabledForeground
ComboBox.font
ComboBox.foreground
ComboBox.listBackground
ComboBox.listForeground
ComboBox.selectionBackground
ComboBox.selectionForeground
ComboBox.togglePopupText
ComboBoxUI
Desktop.ancestorInputMap
Desktop.background
DesktopIcon.background
DesktopIcon.border
DesktopIcon.font
DesktopIcon.foreground
DesktopIconUI
DesktopPaneUI
EditorPane.background
EditorPane.border
EditorPane.caretBlinkRate
EditorPane.caretForeground
EditorPane.focusInputMap
EditorPane.font
EditorPane.foreground
EditorPane.inactiveForeground
EditorPane.keyBindings
EditorPane.margin
EditorPane.selectionBackground
EditorPane.selectionForeground
EditorPaneUI
FileChooser.acceptAllFileFilterText
FileChooser.ancestorInputMap
FileChooser.cancelButtonMnemonic
FileChooser.cancelButtonText
FileChooser.cancelButtonToolTipText
FileChooser.detailsViewButtonAccessibleName
FileChooser.detailsViewButtonToolTipText
FileChooser.detailsViewIcon
FileChooser.directoryDescriptionText
FileChooser.fileDescriptionText
FileChooser.fileNameLabelMnemonic
FileChooser.fileNameLabelText
FileChooser.filesOfTypeLabelMnemonic
FileChooser.filesOfTypeLabelText
FileChooser.helpButtonMnemonic
FileChooser.helpButtonText
FileChooser.helpButtonToolTipText
FileChooser.homeFolderAccessibleName
FileChooser.homeFolderIcon
FileChooser.homeFolderToolTipText
FileChooser.listViewButtonAccessibleName
FileChooser.listViewButtonToolTipText
FileChooser.listViewIcon
FileChooser.lookInLabelMnemonic
FileChooser.lookInLabelText
FileChooser.newFolderAccessibleName
FileChooser.newFolderErrorSeparator
FileChooser.newFolderErrorText
FileChooser.newFolderIcon
FileChooser.newFolderToolTipText
FileChooser.openButtonMnemonic
FileChooser.openButtonText
FileChooser.openButtonToolTipText
FileChooser.openDialogTitleText
FileChooser.other.newFolder
FileChooser.other.newFolder.subsequent
FileChooser.saveButtonMnemonic
FileChooser.saveButtonText
FileChooser.saveButtonToolTipText
FileChooser.saveDialogTitleText
FileChooser.upFolderAccessibleName
FileChooser.upFolderIcon
FileChooser.upFolderToolTipText
FileChooser.updateButtonMnemonic
FileChooser.updateButtonText
FileChooser.updateButtonToolTipText
FileChooser.win32.newFolder
FileChooser.win32.newFolder.subsequent
FileChooserUI
FileView.computerIcon
FileView.directoryIcon
FileView.fileIcon
FileView.floppyDriveIcon
FileView.hardDriveIcon
FocusManagerClassName
FormView.resetButtonText
FormView.submitButtonText
InternalFrame.activeTitleBackground
InternalFrame.activeTitleForeground
InternalFrame.border
InternalFrame.closeIcon
InternalFrame.font
InternalFrame.icon
InternalFrame.iconifyIcon
InternalFrame.inactiveTitleBackground
InternalFrame.inactiveTitleForeground
InternalFrame.maximizeIcon
InternalFrame.minimizeIcon
InternalFrame.optionDialogBorder
InternalFrame.paletteBorder
InternalFrame.paletteCloseIcon
InternalFrame.paletteTitleHeight
InternalFrame.titleFont
InternalFrame.windowBindings
InternalFrameTitlePane.closeButtonAccessibleName
InternalFrameTitlePane.closeButtonText
InternalFrameTitlePane.iconifyButtonAccessibleName
InternalFrameTitlePane.maximizeButtonAccessibleName
InternalFrameTitlePane.maximizeButtonText
InternalFrameTitlePane.minimizeButtonText
InternalFrameTitlePane.moveButtonText
InternalFrameTitlePane.restoreButtonText
InternalFrameTitlePane.sizeButtonText
InternalFrameUI
Label.background
Label.disabledForeground
Label.disabledShadow
Label.font
Label.foreground
LabelUI
List.background
List.cellRenderer
List.focusCellHighlightBorder
List.focusInputMap
List.font
List.foreground
List.selectionBackground
List.selectionForeground
ListUI
Menu.acceleratorFont
Menu.acceleratorForeground
Menu.acceleratorSelectionForeground
Menu.arrowIcon
Menu.background
Menu.border
Menu.borderPainted
Menu.checkIcon
Menu.consumesTabs
Menu.disabledForeground
Menu.font
Menu.foreground
Menu.margin
Menu.selectedWindowInputMapBindings
Menu.selectionBackground
Menu.selectionForeground
MenuBar.background
MenuBar.border
MenuBar.font
MenuBar.foreground
MenuBar.windowBindings
MenuBarUI
MenuItem.acceleratorDelimiter
MenuItem.acceleratorFont
MenuItem.acceleratorForeground
MenuItem.acceleratorSelectionForeground
MenuItem.arrowIcon
MenuItem.background
MenuItem.border
MenuItem.borderPainted
MenuItem.checkIcon
MenuItem.disabledForeground
MenuItem.font
MenuItem.foreground
MenuItem.margin
MenuItem.selectionBackground
MenuItem.selectionForeground
MenuItemUI
MenuUI
OptionPane.background
OptionPane.border
OptionPane.buttonAreaBorder
OptionPane.cancelButtonText
OptionPane.errorIcon
OptionPane.font
OptionPane.foreground
OptionPane.informationIcon
OptionPane.messageAreaBorder
OptionPane.messageForeground
OptionPane.minimumSize
OptionPane.noButtonText
OptionPane.okButtonText
OptionPane.questionIcon
OptionPane.titleText
OptionPane.warningIcon
OptionPane.windowBindings
OptionPane.yesButtonText
OptionPaneUI
Panel.background
Panel.font
Panel.foreground
PanelUI
PasswordField.background
PasswordField.border
PasswordField.caretBlinkRate
PasswordField.caretForeground
PasswordField.focusInputMap
PasswordField.font
PasswordField.foreground
PasswordField.inactiveForeground
PasswordField.keyBindings
PasswordField.margin
PasswordField.selectionBackground
PasswordField.selectionForeground
PasswordFieldUI
PopupMenu.background
PopupMenu.border
PopupMenu.font
PopupMenu.foreground
PopupMenu.selectedWindowInputMapBindings
PopupMenuSeparatorUI
PopupMenuUI
ProgressBar.background
ProgressBar.backgroundHighlight
ProgressBar.cellLength
ProgressBar.cellSpacing
ProgressBar.font
ProgressBar.foreground
ProgressBar.foregroundHighlight
ProgressBar.selectionBackground
ProgressBar.selectionForeground
ProgressBarUI
ProgressMonitor.progressText
RadioButton.background
RadioButton.border
RadioButton.disabledText
RadioButton.focus
RadioButton.focusInputMap
RadioButton.font
RadioButton.foreground
RadioButton.icon
RadioButton.margin
RadioButton.select
RadioButton.textIconGap
RadioButton.textShiftOffset
RadioButtonMenuItem.acceleratorFont
RadioButtonMenuItem.acceleratorForeground
RadioButtonMenuItem.acceleratorSelectionForeground
RadioButtonMenuItem.arrowIcon
RadioButtonMenuItem.background
RadioButtonMenuItem.border
RadioButtonMenuItem.borderPainted
RadioButtonMenuItem.checkIcon
RadioButtonMenuItem.disabledForeground
RadioButtonMenuItem.font
RadioButtonMenuItem.foreground
RadioButtonMenuItem.margin
RadioButtonMenuItem.selectionBackground
RadioButtonMenuItem.selectionForeground
RadioButtonMenuItemUI
RadioButtonUI
RootPane.defaultButtonWindowKeyBindings
RootPaneUI
ScrollBar.allowsAbsolutePositioning
ScrollBar.background
ScrollBar.darkShadow
ScrollBar.focusInputMap
ScrollBar.foreground
ScrollBar.highlight
ScrollBar.maximumThumbSize
ScrollBar.minimumThumbSize
ScrollBar.shadow
ScrollBar.thumb
ScrollBar.thumbDarkShadow
ScrollBar.thumbHighlight
ScrollBar.thumbLightShadow
ScrollBar.thumbShadow
ScrollBar.track
ScrollBar.trackHighlight
ScrollBar.width
ScrollBarUI
ScrollPane.ancestorInputMap
ScrollPane.background
ScrollPane.border
ScrollPane.font
ScrollPane.foreground
ScrollPaneUI
Separator.background
Separator.foreground
Separator.highlight
Separator.shadow
SeparatorUI
Slider.background
Slider.focus
Slider.focusInputMap
Slider.focusInsets
Slider.foreground
Slider.highlight
Slider.horizontalThumbIcon
Slider.majorTickLength
Slider.shadow
Slider.trackWidth
Slider.verticalThumbIcon
SliderUI
SplitPane.ancestorInputMap
SplitPane.background
SplitPane.border
SplitPane.dividerSize
SplitPane.highlight
SplitPane.leftButtonText
SplitPane.rightButtonText
SplitPane.shadow
SplitPaneDivider.border
SplitPaneUI
StandardDialogUI
TabbedPane.ancestorInputMap
TabbedPane.background
TabbedPane.contentBorderInsets
TabbedPane.darkShadow
TabbedPane.focus
TabbedPane.focusInputMap
TabbedPane.font
TabbedPane.foreground
TabbedPane.highlight
TabbedPane.lightHighlight
TabbedPane.selectHighlight
TabbedPane.selected
TabbedPane.selectedTabPadInsets
TabbedPane.shadow
TabbedPane.tabAreaBackground
TabbedPane.tabAreaInsets
TabbedPane.tabInsets
TabbedPane.tabRunOverlay
TabbedPane.textIconGap
TabbedPaneUI
Table.ancestorInputMap
Table.background
Table.focusCellBackground
Table.focusCellForeground
Table.focusCellHighlightBorder
Table.font
Table.foreground
Table.gridColor
Table.scrollPaneBorder
Table.selectionBackground
Table.selectionForeground
TableHeader.background
TableHeader.cellBorder
TableHeader.font
TableHeader.foreground
TableHeaderUI
TableUI
TextArea.background
TextArea.border
TextArea.caretBlinkRate
TextArea.caretForeground
TextArea.focusInputMap
TextArea.font
TextArea.foreground
TextArea.inactiveForeground
TextArea.keyBindings
TextArea.margin
TextArea.selectionBackground
TextArea.selectionForeground
TextAreaUI
TextField.background
TextField.border
TextField.caretBlinkRate
TextField.caretForeground
TextField.focusInputMap
TextField.font
TextField.foreground
TextField.inactiveForeground
TextField.keyBindings
TextField.margin
TextField.selectionBackground
TextField.selectionForeground
TextFieldUI
TextPane.background
TextPane.border
TextPane.caretBlinkRate
TextPane.caretForeground
TextPane.focusInputMap
TextPane.font
TextPane.foreground
TextPane.inactiveForeground
TextPane.keyBindings
TextPane.margin
TextPane.selectionBackground
TextPane.selectionForeground
TextPaneUI
TitledBorder.border
TitledBorder.font
TitledBorder.titleColor
ToggleButton.background
ToggleButton.border
ToggleButton.disabledBackground
ToggleButton.disabledSelectedBackground
ToggleButton.disabledSelectedText
ToggleButton.disabledText
ToggleButton.focus
ToggleButton.focusInputMap
ToggleButton.font
ToggleButton.foreground
ToggleButton.margin
ToggleButton.select
ToggleButton.text
ToggleButton.textIconGap
ToggleButton.textShiftOffset
ToggleButtonUI
ToolBar.ancestorInputMap
ToolBar.background
ToolBar.border
ToolBar.dockingBackground
ToolBar.dockingForeground
ToolBar.floatingBackground
ToolBar.floatingForeground
ToolBar.font
ToolBar.foreground
ToolBar.separatorSize
ToolBarSeparatorUI
ToolBarUI
ToolTip.background
ToolTip.border
ToolTip.font
ToolTip.foreground
ToolTipUI
Tree.ancestorInputMap
Tree.background
Tree.changeSelectionWithFocus
Tree.closedIcon
Tree.collapsedIcon
Tree.drawsFocusBorderAroundIcon
Tree.editorBorder
Tree.expandedIcon
Tree.focusInputMap
Tree.font
Tree.foreground
Tree.hash
Tree.leafIcon
Tree.leftChildIndent
Tree.line
Tree.openIcon
Tree.rightChildIndent
Tree.rowHeight
Tree.scrollsOnExpand
Tree.selectionBackground
Tree.selectionBorderColor
Tree.selectionForeground
Tree.textBackground
Tree.textForeground
TreeUI
Viewport.background
Viewport.font
Viewport.foreground
ViewportUI
activeCaption
activeCaptionBorder
activeCaptionText
control
controlDkShadow
controlHighlight
controlLtHighlight
controlShadow
controlText
desktop
inactiveCaption
inactiveCaptionBorder
inactiveCaptionText
info
infoText
menu
menuText
scrollbar
text
textHighlight
textHighlightText
textInactiveText
textText
window
windowBorder
windowText
另外要设置border的颜色可以通过TitledBorder.border属性实现.
发表评论
-
JTabbedPane 设置标签不可用
2008-07-11 10:03 2060在JTabbedPane 多个标签页之间想只设置其中某个标签页 ... -
JComboBox选项改变ItemStateChanged 触发两次
2008-03-21 09:28 4924Swing中ComboBox改变选择时ItemStateCha ... -
为JWS应用程序签名
2008-02-24 20:02 1139keytool -genkey -keystore AutoB ... -
jintelnalframe 去掉标题栏和边框
2008-02-24 20:01 1399jintelnalframe 去掉标题栏和边框 Bas ...
相关推荐
配置文件可能是一个XML或Properties格式的文件,包含了一系列的键值对,键对应于`UIManager`的属性,值则是相应的外观设置。 2. 应用LookAndFeel:加载完皮肤后,通过调用`UIManager.setLookAndFeel()`方法,传入...
UIManager是Java AWT和Swing图形用户界面(GUI)的一部分,负责管理组件的默认外观和行为,包括颜色、字体、图标以及组件交互的其他视觉属性。在Swing中,我们可以使用UIManager来改变或应用不同的Look and Feel...
开发者可以通过设置颜色、大小、位置等属性,自定义每个UI元素的外观。同时,UIManager 还支持动态加载和显示图像资源,使游戏界面更具吸引力。 在实际使用中,UIManager 的 API 设计遵循了易于理解和使用的准则。...
在Java中,`UIManager`类同样可以用来管理各种组件的默认字体。这里,我们创建了两个不同大小的`Font`对象`font1`和`font2`,分别用于菜单、菜单项、按钮等组件和对话框消息、按钮文本的字体: ```java Font font1 ...
然后,通过`UIManager.put()`方法为各种Swing组件设置了这个字体。例如,`UIManager.put("Label.font", default_font)`意味着所有`JLabel`组件都将使用这个字体。此外,还设置了标签的前景色为黑色,以确保文本的...
可以在Java程序启动时设置系统属性`file.encoding`,如: ```java public static void main(String[] args) { System.setProperty("file.encoding", "UTF-8"); // ...其他代码... } ``` 此外,在Swing程序初始化...
观感的切换可以通过`UIManager`类来实现,这是一个全局的管理器,用于设置和获取各种GUI组件的默认属性。 首先,为了切换到内置观感,你可以使用以下代码: ```java try { UIManager.setLookAndFeel(UIManager....
以上代码段通过修改`UIManager`中的各种组件的字体属性,实现了Swing应用程序中所有相关组件的字体大小统一调整,从而提高了中文显示的效果。 #### 五、结语 通过本文的介绍,我们了解了如何在Swing应用程序中解决...
另外,还可以在启动虚拟机时通过系统属性来设置默认的LookAndFeel,例如: ```bash java -Dswing.defaultlaf=org.jvnet.substance.SubstanceLookAndFeel MainClass ``` 这种方式适合于在命令行环境下运行的应用...
之后可以通过调用`JFrame`的各种方法来设置窗口的属性,例如: - `setTitle(String title)`:设置窗口标题。 - `setSize(Dimension size)` 或 `setSize(int width, int height)`:设置窗口大小。 - `...
`UIManager`是Swing中管理界面样式的中心类,它提供了获取和设置默认属性的方法。开发者可以通过UIManager来更改组件的默认样式。 **2. UIDefaults** `UIDefaults`类是一个存储了所有界面样式属性的映射表,它是...
通过直接设置这些组件的属性,你可以改变按钮和文本的字体、颜色等样式。例如,创建两个具有不同字体和颜色的按钮,以及一个带有自定义样式的标签: ```java JButton btnYes = new JButton("可以了哦"); btnYes....
在Java Swing或JavaFX这样的GUI库中,组件(如按钮、文本框等)具有各种属性,如颜色、大小、字体等。获取和设置这些属性的方法通常是通过调用对象的getter和setter方法。例如,`JButton`的`getText()`和`setText()`...
UIManager维护了一个全局的默认属性集,这些属性定义了UI组件的外观和行为。开发者可以通过修改UIManager的属性来改变组件的样式。 2. **LookAndFeel class**: 表示一种特定的用户界面风格。Java提供了javax.swing....
此外,UIManager还提供了一系列静态方法,如`get()`和`put()`,用于获取和设置LAF相关的属性,确保了UI组件能够在各种LAF下正确表现。 UI Delegate机制和LookAndFeel的组合,使得Swing组件不仅能够适应不同平台的...
开发者可以使用`UIManager.setLookAndFeel()`来切换不同的外观,或者使用`UIManager.getLookAndFeelDefaults()`获取当前LookAndFeel的默认属性。 3. 外观风格:Swing提供了多种内置的LookAndFeel,包括: - ...
在Java Swing中,LookAndFeel 是一套规则,定义了组件的颜色、字体、布局和其他视觉属性。默认情况下,Swing会自动采用操作系统的默认LookAndFeel,但开发者可以通过编程方式更改它,以实现跨平台的一致性或特定的...
如果存在,则获取文件的各种属性,并将这些属性添加到表格中展示。 - **主方法** ```java public static void main(String args[]) { JFrame.setDefaultLookAndFeelDecorated(true); Font font = new Font(...
2. **入口方法(main)**:程序的执行起点,使用`UIManager.setLookAndFeel()`来设置系统的界面外观,使其符合用户操作系统的设计风格。接着,调用`BookLogin`类,推测这是一个登录窗口,用于验证用户身份。 3. **...
- `UIManager.getSystemLookAndFeelClassName()`会尝试根据用户的本地系统设置来选择相应的外观。如果找不到对应的外观,Swing将回退到默认的`Metal`外观。 - 如果在运行Applet时提示安装插件,可能是因为`jsp tag...