Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1016231 // jtransparent_hard - setOpaque(false) and set transparent background color

JavaX fragment (include)

static <A extends JComponent> A jtransparent_hard(final A a) {
  swing {
    a.setOpaque(false);
    a.setBackground(new Color(0, 0, 0, 0));
  }
  ret a;
}

Author comment

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: 304 / 353
Referenced in: [show references]