static <A extends JComponent> A setOpaqueBackground(final Color color, final A a) { if (a != null) swing { a.setBackground(color); a.setOpaque(true); a.putClientProperty("substancelaf.colorizationFactor", 1.0); } ret a; }
Began life as a copy of #1014546
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: | #1016134 |
Snippet name: | setOpaqueBackground |
Eternal ID of this version: | #1016134/3 |
Text MD5: | d18c7c0599bf64afd402c39ab4041efc |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-06 19:51:43 |
Source code size: | 246 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 396 / 458 |
Version history: | 2 change(s) |
Referenced in: | [show references] |