static JPanel singleColorPanel(final Color color) { ret swing(func -> JPanel { new JPanel p; p.setOpaque(true); p.setBackground(color); ret p; }); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003376 |
Snippet name: | singleColorPanel - note: does not work properly with Substance |
Eternal ID of this version: | #1003376/3 |
Text MD5: | 7fadb6f481f5b0bca3a1b6c2e1bb870c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-11 18:38:00 |
Source code size: | 175 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 622 / 620 |
Version history: | 2 change(s) |
Referenced in: | [show references] |