Libraryless. Click here for Pure Java version (4688L/26K).
static <A extends JComponent> A setOpaqueBackground_recursive(Color color, A a) { setOpaqueBackground(color, a); for (Component c : getSwingChildren(a)) if (c cast JComponent) setOpaqueBackground_recursive(color, c); ret a; }
Began life as a copy of #1006898
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033479 |
| Snippet name: | setOpaqueBackground_recursive |
| Eternal ID of this version: | #1033479/4 |
| Text MD5: | a0c84b359b3e14d411efb3076e6848e1 |
| Transpilation MD5: | 4164b4748f7969ac2455fc1b1e89c001 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-29 03:00:59 |
| Source code size: | 247 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 458 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |