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

12
LINES

< > BotCompany Repo | #1009736 // style_foreground

JavaX fragment (include)

static SimpleAttributeSet style_foreground(Color c) {
  ret style_foreground(new SimpleAttributeSet, c);
}

static SimpleAttributeSet style_foreground(SimpleAttributeSet a, Color c) {
  StyleConstants.setForeground(a, c);
  ret a;
}

static SimpleAttributeSet style_foreground(Color c, SimpleAttributeSet a) {
  ret style_foreground(a, c);
}

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: 457 / 474
Referenced in: [show references]