Mega Code Archive

 
Categories / Java Tutorial / Swing
 

Customizing a JTextField Look and Feel

Property String Object Type textColor textHighlightColor textHighlightTextColor textInactiveTextColor TextField.actionMapActionMap TextField.backgroundColor TextField.borderBorder TextField.caretAspectRatioNumber TextField.caretBlinkRateInteger TextField.caretForegroundColor TextField.darkShadowColor TextField.disabledBackgroundColor TextField.focusInputMapInputMap TextField.fontFont TextField.foregroundColor TextField.highlightColor TextField.inactiveBackgroundColor TextField.inactiveForegroundColor TextField.keyBindingsKeyBinding[ ] TextField.lightColor TextField.marginInsets TextField.selectionBackgroundColor TextField.selectionForegroundColor TextField.shadowColor TextFieldUIString