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

4
LINES

< > BotCompany Repo | #1010333 // jFullCenterTextPane

JavaX fragment (include)

static Pair<JTextPane, JPanel> jFullCenterTextPane(S text) {
  JTextPane tp = jcenteredtextpane(text);
  ret pair(tp, jTiledBackground(whiteImage(10, 10), jFullCenter(setFont(sansSerif(20), tp))));
}

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: #1010333
Snippet name: jFullCenterTextPane
Eternal ID of this version: #1010333/2
Text MD5: b99623f56adeb8de37c09215b9639d70
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-11 22:33:09
Source code size: 202 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 333 / 362
Version history: 1 change(s)
Referenced in: [show references]