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

4
LINES

< > BotCompany Repo | #1009739 // textPane_paragraphAttributes

JavaX fragment (include)

1  
static void textPane_paragraphAttributes(JTextPane p, AttributeSet attributes) ctex {
2  
  StyledDocument doc = p.getStyledDocument();
3  
  doc.setParagraphAttributes(0, doc.getLength(), attributes, false);
4  
}

Author comment

Began life as a copy of #1009730

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: #1009739
Snippet name: textPane_paragraphAttributes
Eternal ID of this version: #1009739/2
Text MD5: 271ec69e4fc351b26e8a1c31d355bb83
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:59:44
Source code size: 205 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 481
Version history: 1 change(s)
Referenced in: [show references]