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

12
LINES

< > BotCompany Repo | #1009736 // style_foreground

JavaX fragment (include)

1  
static SimpleAttributeSet style_foreground(Color c) {
2  
  ret style_foreground(new SimpleAttributeSet, c);
3  
}
4  
5  
static SimpleAttributeSet style_foreground(SimpleAttributeSet a, Color c) {
6  
  StyleConstants.setForeground(a, c);
7  
  ret a;
8  
}
9  
10  
static SimpleAttributeSet style_foreground(Color c, SimpleAttributeSet a) {
11  
  ret style_foreground(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: #1009736
Snippet name: style_foreground
Eternal ID of this version: #1009736/1
Text MD5: 4f4adab354da7b3da062d1a9acacecc6
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:44:14
Source code size: 352 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 347 / 373
Referenced in: [show references]