1 | static JPanel singleColorPanel(final Color color) { |
2 | ret swing(func -> JPanel { |
3 | new JPanel p; |
4 | p.setOpaque(true); |
5 | p.setBackground(color); |
6 | ret p; |
7 | }); |
8 | } |
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: | 624 / 623 |
Version history: | 2 change(s) |
Referenced in: | [show references] |