I have an array of horizontal manager which consist of editfield, dropdown, label and a button. I place all these array of horizontalfield manager in one vertical manager to make a table like grid like structure. I can make it but I want to do that if we get focus on horizontal manager then all components in the horizontal manager should give a same color I don't know how to make this.
相关问题
- JFX scale image up and down to parent
- How to change default background color for TChromi
- Swing Font Rendering
- Change background color of row extjs4
- .getSize() isn't updated
相关文章
- Set color of 'empty' area of ListView in A
- Algorithm for maximizing coverage of rectangular a
- Is there a way to hide the new HTML5 spinbox contr
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- PropertyGrid - Possible to have a file/directory s
- Programming a touch screen application with SWING
- Can WM_NEXTDLGCTL be used with non-dialog windows?
- How can I create a small IDLE-like Python Shell in
If you in 4.5 and lower, extend HorizontalFieldManager, add color property, use it on paint event and invalidate on focus change:
If you in 4.6 and higher, use setBackground for VISUAL STATE FOCUS:
And here is a case if you want to highlight all controls (button, checkbox, choice and edit) if horizontal manager is focused: