static void appendToTextPane(JTextPane p, S text, AttributeSet attributes) ctex { StyledDocument doc = p.getStyledDocument(); doc.insertString(doc.getLength(), text, attributes); } static void appendToTextPane(JTextPane p, S text) { appendToTextPane(p, text, style_normal()); }
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: | #1009730 |
Snippet name: | appendToTextPane |
Eternal ID of this version: | #1009730/5 |
Text MD5: | 1cad16e0e86d661ee1adee7e37ebd402 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 17:38:49 |
Source code size: | 293 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 494 / 547 |
Version history: | 4 change(s) |
Referenced in: | [show references] |