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

12
LINES

< > BotCompany Repo | #1009735 // style_background

JavaX fragment (include)

1  
static SimpleAttributeSet style_background(Color c) {
2  
  ret style_background(new SimpleAttributeSet, c);
3  
}
4  
5  
static SimpleAttributeSet style_background(SimpleAttributeSet a, Color c) {
6  
  StyleConstants.setBackground(a, c);
7  
  ret a;
8  
}
9  
10  
static SimpleAttributeSet style_background(Color c, SimpleAttributeSet a) {
11  
  ret style_background(a, c);
12  
}

Author comment

Began life as a copy of #1009733

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: #1009735
Snippet name: style_background
Eternal ID of this version: #1009735/3
Text MD5: d814b015ed88e71ee59ef41235e96806
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-15 18:42:26
Source code size: 352 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 514
Version history: 2 change(s)
Referenced in: [show references]