static <A extends Component> A jtransparent_recursive(A a) { if (a instanceof JPanel) { ((JPanel) a).setOpaque(false); for (Component c : getSwingChildren(a)) jtransparent_recursive(c); } ret a; }
Began life as a copy of #1006897
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006898 |
| Snippet name: | jtransparent_recursive - setOpaque(false) recursively for all JPanels |
| Eternal ID of this version: | #1006898/1 |
| Text MD5: | 45ceec6601b1f96d949d7ba5280490ad |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-02-14 18:28:27 |
| Source code size: | 223 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1100 / 1114 |
| Referenced in: | [show references] |