static <A extends JComponent> A jBackground(final Color color, final A a) { swing { jtransparent_recursive(a); a.setOpaque(true); a.setBackground(color); a.putClientProperty("substancelaf.colorizationFactor", 1.0); } ret a; }
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: | #1007788 |
Snippet name: | jBackground - set single color background for whole panel |
Eternal ID of this version: | #1007788/5 |
Text MD5: | 31d9cbc596df7027f45ceb12a597eb33 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-02 21:37:44 |
Source code size: | 255 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 581 / 601 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007790 - jcolor |