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

8
LINES

< > BotCompany Repo | #1003376 // singleColorPanel - note: does not work properly with Substance

JavaX fragment (include)

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: 623 / 622
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008002 - singleColorPanelWithSize
#1020252 - changeSingleColorPanel