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

11
LINES

< > BotCompany Repo | #1009741 // jcenteredtextpane - make JTextPane with centered text

JavaX fragment (include)

static JTextPane jcenteredtextpane() {
  ret centerTextPane(jtextpane());
}

static JTextPane jcenteredtextpane(S text, AttributeSet attributes) {
  ret centerTextPane(jtextpane(text, attributes));
}

static JTextPane jcenteredtextpane(S text) {
  ret centerTextPane(jtextpane(text));
}

Author comment

Began life as a copy of #1009721

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: #1009741
Snippet name: jcenteredtextpane - make JTextPane with centered text
Eternal ID of this version: #1009741/3
Text MD5: 1fd1a51f3d51abd0a19ea4c35f080e1b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-07 20:15:29
Source code size: 298 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 516
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)