1 | static <A extends JComponent> A jtransparent_hard(final A a) {
|
2 | swing {
|
3 | a.setOpaque(false); |
4 | a.setBackground(new Color(0, 0, 0, 0)); |
5 | } |
6 | ret a; |
7 | } |
Began life as a copy of #1006897
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016231 |
| Snippet name: | jtransparent_hard - setOpaque(false) and set transparent background color |
| Eternal ID of this version: | #1016231/1 |
| Text MD5: | 9e32cf8f991724aef9f96b4c253c6f77 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-11 13:15:07 |
| Source code size: | 161 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 530 / 590 |
| Referenced in: | [show references] |