static JTextPane jtextpane() { ret jenableUndoRedo(swing(func -> JTextPane { new JTextPane })); } static JTextPane jtextpane(S text, AttributeSet attributes) { JTextPane pane = jtextpane(); pane.setCharacterAttributes(attributes, true); pane.setText(text); ret pane; } static JTextPane jtextpane(S text) { ret jtextpane(text, style_normal()); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009721 |
Snippet name: | jtextpane - make JTextPane |
Eternal ID of this version: | #1009721/5 |
Text MD5: | b6501a33cbeb34d72fc8a0f7f5ea633d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-20 01:25:00 |
Source code size: | 371 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 506 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009741 - jcenteredtextpane - make JTextPane with centered text |